@pendle/core-v2 0.20.2-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 (454) 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 -171
  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/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +32 -80
  96. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +40 -100
  98. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +16 -40
  100. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +16 -40
  103. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +104 -260
  105. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +32 -43
  109. package/build/artifacts/contracts/interfaces/IPFeeDistributorFactory.sol/IPFeeDistributorFactory.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/{Balancer/IGauge.sol/IGauge.json → IPFeeDistributorFactory.sol/IPFeeDistributorFactory.json} +33 -18
  111. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  123. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  124. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  125. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  126. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  127. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -42
  128. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  129. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +98 -171
  130. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  131. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +53 -96
  132. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  133. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  134. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  135. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +61 -116
  136. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  137. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  138. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  139. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +25 -44
  140. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  141. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  142. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  143. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +25 -44
  144. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  145. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  146. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  147. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -1
  148. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  149. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  150. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  151. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  152. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +4 -0
  153. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +224 -0
  154. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +4 -0
  155. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +35 -0
  156. package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.dbg.json +4 -0
  157. package/build/artifacts/contracts/router/kyberswap/IMultihopRouter.sol/IMultihopRouter.json +136 -0
  158. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +4 -0
  159. package/build/artifacts/contracts/{interfaces/Balancer/IRateProvider.sol/IRateProvider.json → router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json} +5 -5
  160. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +9 -7
  161. package/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol +159 -0
  162. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol +99 -0
  163. package/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol +70 -0
  164. package/contracts/core/BulkSeller/BulkSeller.sol +1 -1
  165. package/contracts/core/StandardizedYield/SYBaseWithRewards.sol +3 -1
  166. package/contracts/core/libraries/ArrayLib.sol +0 -12
  167. package/contracts/core/libraries/Errors.sol +2 -19
  168. package/contracts/interfaces/ConvexCurve/IRewards.sol +0 -5
  169. package/contracts/interfaces/IPActionAddRemoveLiq.sol +1 -1
  170. package/contracts/interfaces/IPActionMintRedeem.sol +3 -2
  171. package/contracts/interfaces/IPActionSwapPT.sol +1 -1
  172. package/contracts/interfaces/IPActionSwapPTYT.sol +1 -1
  173. package/contracts/interfaces/IPActionSwapYT.sol +1 -1
  174. package/contracts/interfaces/IPFeeDistributor.sol +10 -12
  175. package/contracts/interfaces/IPFeeDistributorFactory.sol +14 -0
  176. package/contracts/offchain-helpers/MarketMathStatic.sol +88 -181
  177. package/contracts/offchain-helpers/RouterStatic.sol +72 -72
  178. package/contracts/router/ActionAddRemoveLiq.sol +2 -2
  179. package/contracts/router/ActionMintRedeem.sol +9 -7
  180. package/contracts/router/ActionSwapPT.sol +2 -2
  181. package/contracts/router/ActionSwapYT.sol +2 -2
  182. package/contracts/router/base/ActionBaseMintRedeem.sol +14 -51
  183. package/contracts/router/kyberswap/AggregationRouterHelper.sol +317 -0
  184. package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +10 -0
  185. package/contracts/router/kyberswap/IMultihopRouter.sol +139 -0
  186. package/contracts/router/kyberswap/KyberSwapHelper.sol +79 -0
  187. package/deployments/1-core.json +29 -0
  188. package/deployments/1-markets/FRAXUSDC-CURVELP-MARCH30.json +11 -0
  189. package/deployments/1-markets/LOOKS-STAKING-MARCH30.json +10 -0
  190. package/deployments/1-markets/STETH-JUNE29.json +10 -0
  191. package/deployments/1-markets/STETH-MARCH30.json +10 -0
  192. package/package.json +6 -6
  193. package/typechain-types/ActionAddRemoveLiq.ts +35 -41
  194. package/typechain-types/ActionBaseMintRedeem.ts +8 -8
  195. package/typechain-types/ActionMintRedeem.ts +42 -45
  196. package/typechain-types/ActionSwapPT.ts +22 -28
  197. package/typechain-types/ActionSwapYT.ts +22 -28
  198. package/typechain-types/IPActionAddRemoveLiq.ts +16 -22
  199. package/typechain-types/IPActionMintRedeem.ts +23 -26
  200. package/typechain-types/IPActionSwapPT.ts +14 -20
  201. package/typechain-types/IPActionSwapYT.ts +14 -20
  202. package/typechain-types/IPAllAction.ts +31 -34
  203. package/typechain-types/IPFeeDistributor.ts +78 -61
  204. package/typechain-types/IPFeeDistributorFactory.ts +139 -53
  205. package/typechain-types/IRewards.ts +5 -35
  206. package/typechain-types/MarketMathStatic.ts +0 -49
  207. package/typechain-types/PendleFeeDistributor.ts +117 -409
  208. package/typechain-types/RouterStatic.ts +69 -40
  209. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +56 -99
  210. package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +1 -1
  211. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  212. package/typechain-types/factories/ActionMintRedeem__factory.ts +64 -119
  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 +28 -47
  216. package/typechain-types/factories/ActionSwapYT__factory.ts +28 -47
  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/Errors__factory.ts +4 -170
  222. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +32 -80
  223. package/typechain-types/factories/IPActionMintRedeem__factory.ts +40 -100
  224. package/typechain-types/factories/IPActionSwapPT__factory.ts +16 -40
  225. package/typechain-types/factories/IPActionSwapYT__factory.ts +16 -40
  226. package/typechain-types/factories/IPAllAction__factory.ts +104 -260
  227. package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +34 -25
  228. package/typechain-types/factories/IPFeeDistributor__factory.ts +31 -42
  229. package/typechain-types/factories/IRewards__factory.ts +0 -18
  230. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -41
  231. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  232. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1 -1
  233. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1 -1
  234. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  235. package/typechain-types/factories/PendleFeeDistributor__factory.ts +66 -341
  236. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  237. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  238. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +1 -1
  239. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  240. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  241. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  242. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  243. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  244. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  245. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  246. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  247. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  248. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  249. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  250. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  251. package/typechain-types/factories/RouterStatic__factory.ts +41 -118
  252. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  253. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  254. package/typechain-types/hardhat.d.ts +56 -263
  255. package/typechain-types/index.ts +16 -62
  256. package/README.md +0 -28
  257. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +0 -4
  258. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +0 -592
  259. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +0 -4
  260. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +0 -50
  261. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +0 -4
  262. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +0 -1075
  263. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +0 -4
  264. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +0 -1296
  265. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +0 -4
  266. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +0 -1283
  267. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +0 -4
  268. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +0 -1218
  269. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +0 -4
  270. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +0 -1231
  271. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +0 -4
  272. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +0 -10
  273. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +0 -4
  274. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +0 -133
  275. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +0 -4
  276. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +0 -10
  277. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +0 -4
  278. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +0 -40
  279. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +0 -4
  280. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +0 -322
  281. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +0 -4
  282. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +0 -1171
  283. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +0 -4
  284. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +0 -10
  285. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +0 -4
  286. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +0 -133
  287. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +0 -4
  288. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +0 -10
  289. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +0 -4
  290. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +0 -24
  291. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +0 -4
  292. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +0 -133
  293. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +0 -4
  294. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +0 -328
  295. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +0 -4
  296. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +0 -467
  297. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +0 -4
  298. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +0 -4
  299. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +0 -30
  300. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +0 -4
  301. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +0 -398
  302. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +0 -4
  303. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +0 -4
  304. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +0 -278
  305. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +0 -4
  306. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +0 -4
  307. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +0 -322
  308. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +0 -4
  309. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +0 -160
  310. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +0 -4
  311. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +0 -10
  312. package/build/artifacts/contracts/router/swap-aggregator/ISwapAggregator.sol/ISwapAggregator.dbg.json +0 -4
  313. package/build/artifacts/contracts/router/swap-aggregator/ISwapAggregator.sol/ISwapAggregator.json +0 -51
  314. package/build/artifacts/contracts/router/swap-aggregator/SwapAggregator.sol/SwapAggregator.dbg.json +0 -4
  315. package/build/artifacts/contracts/router/swap-aggregator/SwapAggregator.sol/SwapAggregator.json +0 -256
  316. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +0 -4
  317. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json +0 -10
  318. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +0 -4
  319. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +0 -10
  320. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  321. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
  322. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +0 -4
  323. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +0 -359
  324. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +0 -4
  325. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.json +0 -101
  326. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +0 -4
  327. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +0 -183
  328. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  329. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
  330. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +0 -224
  331. package/contracts/core/StandardizedYield/StEthHelper.sol +0 -71
  332. package/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol +0 -197
  333. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +0 -170
  334. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +0 -162
  335. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +0 -134
  336. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +0 -154
  337. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +0 -289
  338. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +0 -618
  339. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +0 -68
  340. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +0 -322
  341. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +0 -390
  342. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +0 -329
  343. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +0 -30
  344. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +0 -189
  345. package/contracts/interfaces/Balancer/IAsset.sol +0 -4
  346. package/contracts/interfaces/Balancer/IBalancerFees.sol +0 -6
  347. package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +0 -22
  348. package/contracts/interfaces/Balancer/IBasePool.sol +0 -30
  349. package/contracts/interfaces/Balancer/IComposableStable.sol +0 -39
  350. package/contracts/interfaces/Balancer/IGauge.sol +0 -10
  351. package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +0 -6
  352. package/contracts/interfaces/Balancer/IMetaStablePool.sol +0 -31
  353. package/contracts/interfaces/Balancer/IRateProvider.sol +0 -6
  354. package/contracts/interfaces/Balancer/IVault.sol +0 -78
  355. package/contracts/interfaces/IApeStaking.sol +0 -30
  356. package/contracts/offchain-helpers/Multicall2.sol +0 -103
  357. package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +0 -45
  358. package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +0 -71
  359. package/contracts/router/swap-aggregator/ISwapAggregator.sol +0 -21
  360. package/contracts/router/swap-aggregator/SwapAggregator.sol +0 -62
  361. package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +0 -302
  362. package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +0 -134
  363. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +0 -17
  364. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +0 -185
  365. package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +0 -30
  366. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol +0 -33
  367. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +0 -42
  368. package/deployments/43113-core.json +0 -29
  369. package/deployments/43113-helper.json +0 -3
  370. package/deployments/43113-markets/APE-30-MARCH.json +0 -10
  371. package/deployments/43113-markets/USDC-FEB-2ND.json +0 -10
  372. package/deployments/43113-markets/USDC-FEB-4TH.json +0 -10
  373. package/deployments/43113-markets/WETH-FEB-2ND.json +0 -11
  374. package/deployments/43113-markets/WETH-FEB-4TH.json +0 -11
  375. package/deployments/43113-testenv.json +0 -22
  376. package/deployments/80001-core.json +0 -28
  377. package/deployments/80001-helper.json +0 -3
  378. package/deployments/80001-markets/USDC-FEB-4TH.json +0 -10
  379. package/deployments/80001-markets/WETH-FEB-4TH.json +0 -11
  380. package/deployments/80001-testenv.json +0 -22
  381. package/typechain-types/BribeDistributor.ts +0 -363
  382. package/typechain-types/ComposableStablePreview.ts +0 -217
  383. package/typechain-types/DistributorBase.ts +0 -363
  384. package/typechain-types/FeeDistributor.ts +0 -416
  385. package/typechain-types/I1inchAggregationRouterV5.ts +0 -257
  386. package/typechain-types/IAggregationExecutor.ts +0 -182
  387. package/typechain-types/IApeStaking.ts +0 -305
  388. package/typechain-types/IBalancerFees.ts +0 -89
  389. package/typechain-types/IBalancerStablePreview.ts +0 -217
  390. package/typechain-types/IBasePool.ts +0 -482
  391. package/typechain-types/IComposableStable.ts +0 -730
  392. package/typechain-types/IExecutorHelperEthereum1.ts +0 -599
  393. package/typechain-types/IGauge.ts +0 -160
  394. package/typechain-types/IHashflow.ts +0 -159
  395. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +0 -109
  396. package/typechain-types/ILiquidityGaugeFactory.ts +0 -99
  397. package/typechain-types/IMetaAggregationRouter.ts +0 -213
  398. package/typechain-types/IMetaAggregationRouterV2.ts +0 -221
  399. package/typechain-types/IMetaStablePool.ts +0 -619
  400. package/typechain-types/IMultihopRouterEthereum.ts +0 -209
  401. package/typechain-types/IRateProvider.ts +0 -81
  402. package/typechain-types/ISwapAggregator.ts +0 -124
  403. package/typechain-types/IVault.ts +0 -410
  404. package/typechain-types/MetaStableMath.ts +0 -113
  405. package/typechain-types/MetaStablePreview.ts +0 -501
  406. package/typechain-types/Multicall2.ts +0 -437
  407. package/typechain-types/PendleApeStakingSY.ts +0 -1135
  408. package/typechain-types/PendleAura3EthSY.ts +0 -1639
  409. package/typechain-types/PendleAuraBalancerStableLPSY.ts +0 -1523
  410. package/typechain-types/PendleAuraCbethWstethSY.ts +0 -1626
  411. package/typechain-types/PendleAuraWethRethSY.ts +0 -1549
  412. package/typechain-types/PendleAuraWethWstethSY.ts +0 -1562
  413. package/typechain-types/SAPE.ts +0 -1395
  414. package/typechain-types/SYBaseAutoCompound.ts +0 -1203
  415. package/typechain-types/StEthHelper.ts +0 -107
  416. package/typechain-types/StablePreviewBase.ts +0 -217
  417. package/typechain-types/SwapAggregator.ts +0 -406
  418. package/typechain-types/factories/BribeDistributor__factory.ts +0 -303
  419. package/typechain-types/factories/ComposableStablePreview__factory.ts +0 -190
  420. package/typechain-types/factories/DistributorBase__factory.ts +0 -249
  421. package/typechain-types/factories/FeeDistributor__factory.ts +0 -339
  422. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +0 -179
  423. package/typechain-types/factories/IAggregationExecutor__factory.ts +0 -84
  424. package/typechain-types/factories/IApeStaking__factory.ts +0 -161
  425. package/typechain-types/factories/IBalancerFees__factory.ts +0 -36
  426. package/typechain-types/factories/IBalancerStablePreview__factory.ts +0 -152
  427. package/typechain-types/factories/IBasePool__factory.ts +0 -340
  428. package/typechain-types/factories/IComposableStable__factory.ts +0 -482
  429. package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +0 -378
  430. package/typechain-types/factories/IGauge__factory.ts +0 -70
  431. package/typechain-types/factories/IHashflow__factory.ts +0 -113
  432. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +0 -56
  433. package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +0 -49
  434. package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +0 -234
  435. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +0 -202
  436. package/typechain-types/factories/IMetaStablePool__factory.ts +0 -413
  437. package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +0 -155
  438. package/typechain-types/factories/IRateProvider__factory.ts +0 -36
  439. package/typechain-types/factories/ISwapAggregator__factory.ts +0 -66
  440. package/typechain-types/factories/IVault__factory.ts +0 -287
  441. package/typechain-types/factories/MetaStableMath__factory.ts +0 -93
  442. package/typechain-types/factories/MetaStablePreview__factory.ts +0 -375
  443. package/typechain-types/factories/Multicall2__factory.ts +0 -372
  444. package/typechain-types/factories/PendleApeStakingSY__factory.ts +0 -981
  445. package/typechain-types/factories/PendleAura3EthSY__factory.ts +0 -1365
  446. package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +0 -1190
  447. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +0 -1356
  448. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +0 -1291
  449. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +0 -1304
  450. package/typechain-types/factories/SAPE__factory.ts +0 -1142
  451. package/typechain-types/factories/SYBaseAutoCompound__factory.ts +0 -942
  452. package/typechain-types/factories/StEthHelper__factory.ts +0 -62
  453. package/typechain-types/factories/StablePreviewBase__factory.ts +0 -148
  454. package/typechain-types/factories/SwapAggregator__factory.ts +0 -309
@@ -1,413 +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
- IMetaStablePool,
9
- IMetaStablePoolInterface,
10
- } from "../IMetaStablePool";
11
-
12
- const _abi = [
13
- {
14
- anonymous: false,
15
- inputs: [
16
- {
17
- indexed: true,
18
- internalType: "address",
19
- name: "owner",
20
- type: "address",
21
- },
22
- {
23
- indexed: true,
24
- internalType: "address",
25
- name: "spender",
26
- type: "address",
27
- },
28
- {
29
- indexed: false,
30
- internalType: "uint256",
31
- name: "value",
32
- type: "uint256",
33
- },
34
- ],
35
- name: "Approval",
36
- type: "event",
37
- },
38
- {
39
- anonymous: false,
40
- inputs: [
41
- {
42
- indexed: true,
43
- internalType: "address",
44
- name: "from",
45
- type: "address",
46
- },
47
- {
48
- indexed: true,
49
- internalType: "address",
50
- name: "to",
51
- type: "address",
52
- },
53
- {
54
- indexed: false,
55
- internalType: "uint256",
56
- name: "value",
57
- type: "uint256",
58
- },
59
- ],
60
- name: "Transfer",
61
- type: "event",
62
- },
63
- {
64
- inputs: [
65
- {
66
- internalType: "address",
67
- name: "owner",
68
- type: "address",
69
- },
70
- {
71
- internalType: "address",
72
- name: "spender",
73
- type: "address",
74
- },
75
- ],
76
- name: "allowance",
77
- outputs: [
78
- {
79
- internalType: "uint256",
80
- name: "",
81
- type: "uint256",
82
- },
83
- ],
84
- stateMutability: "view",
85
- type: "function",
86
- },
87
- {
88
- inputs: [
89
- {
90
- internalType: "address",
91
- name: "spender",
92
- type: "address",
93
- },
94
- {
95
- internalType: "uint256",
96
- name: "amount",
97
- type: "uint256",
98
- },
99
- ],
100
- name: "approve",
101
- outputs: [
102
- {
103
- internalType: "bool",
104
- name: "",
105
- type: "bool",
106
- },
107
- ],
108
- stateMutability: "nonpayable",
109
- type: "function",
110
- },
111
- {
112
- inputs: [
113
- {
114
- internalType: "address",
115
- name: "account",
116
- type: "address",
117
- },
118
- ],
119
- name: "balanceOf",
120
- outputs: [
121
- {
122
- internalType: "uint256",
123
- name: "",
124
- type: "uint256",
125
- },
126
- ],
127
- stateMutability: "view",
128
- type: "function",
129
- },
130
- {
131
- inputs: [],
132
- name: "getAmplificationParameter",
133
- outputs: [
134
- {
135
- internalType: "uint256",
136
- name: "value",
137
- type: "uint256",
138
- },
139
- {
140
- internalType: "bool",
141
- name: "isUpdating",
142
- type: "bool",
143
- },
144
- {
145
- internalType: "uint256",
146
- name: "precision",
147
- type: "uint256",
148
- },
149
- ],
150
- stateMutability: "view",
151
- type: "function",
152
- },
153
- {
154
- inputs: [],
155
- name: "getLastInvariant",
156
- outputs: [
157
- {
158
- internalType: "uint256",
159
- name: "lastInvariant",
160
- type: "uint256",
161
- },
162
- {
163
- internalType: "uint256",
164
- name: "lastInvariantAmp",
165
- type: "uint256",
166
- },
167
- ],
168
- stateMutability: "view",
169
- type: "function",
170
- },
171
- {
172
- inputs: [],
173
- name: "getPoolId",
174
- outputs: [
175
- {
176
- internalType: "bytes32",
177
- name: "",
178
- type: "bytes32",
179
- },
180
- ],
181
- stateMutability: "view",
182
- type: "function",
183
- },
184
- {
185
- inputs: [
186
- {
187
- internalType: "contract IERC20",
188
- name: "token",
189
- type: "address",
190
- },
191
- ],
192
- name: "getPriceRateCache",
193
- outputs: [
194
- {
195
- internalType: "uint256",
196
- name: "rate",
197
- type: "uint256",
198
- },
199
- {
200
- internalType: "uint256",
201
- name: "duration",
202
- type: "uint256",
203
- },
204
- {
205
- internalType: "uint256",
206
- name: "expires",
207
- type: "uint256",
208
- },
209
- ],
210
- stateMutability: "view",
211
- type: "function",
212
- },
213
- {
214
- inputs: [],
215
- name: "getSwapFeePercentage",
216
- outputs: [
217
- {
218
- internalType: "uint256",
219
- name: "",
220
- type: "uint256",
221
- },
222
- ],
223
- stateMutability: "view",
224
- type: "function",
225
- },
226
- {
227
- inputs: [
228
- {
229
- internalType: "bytes32",
230
- name: "poolId",
231
- type: "bytes32",
232
- },
233
- {
234
- internalType: "address",
235
- name: "sender",
236
- type: "address",
237
- },
238
- {
239
- internalType: "address",
240
- name: "recipient",
241
- type: "address",
242
- },
243
- {
244
- internalType: "uint256[]",
245
- name: "balances",
246
- type: "uint256[]",
247
- },
248
- {
249
- internalType: "uint256",
250
- name: "lastChangeBlock",
251
- type: "uint256",
252
- },
253
- {
254
- internalType: "uint256",
255
- name: "protocolSwapFeePercentage",
256
- type: "uint256",
257
- },
258
- {
259
- internalType: "bytes",
260
- name: "userData",
261
- type: "bytes",
262
- },
263
- ],
264
- name: "onExitPool",
265
- outputs: [
266
- {
267
- internalType: "uint256[]",
268
- name: "amountsOut",
269
- type: "uint256[]",
270
- },
271
- {
272
- internalType: "uint256[]",
273
- name: "dueProtocolFeeAmounts",
274
- type: "uint256[]",
275
- },
276
- ],
277
- stateMutability: "nonpayable",
278
- type: "function",
279
- },
280
- {
281
- inputs: [
282
- {
283
- internalType: "bytes32",
284
- name: "poolId",
285
- type: "bytes32",
286
- },
287
- {
288
- internalType: "address",
289
- name: "sender",
290
- type: "address",
291
- },
292
- {
293
- internalType: "address",
294
- name: "recipient",
295
- type: "address",
296
- },
297
- {
298
- internalType: "uint256[]",
299
- name: "balances",
300
- type: "uint256[]",
301
- },
302
- {
303
- internalType: "uint256",
304
- name: "lastChangeBlock",
305
- type: "uint256",
306
- },
307
- {
308
- internalType: "uint256",
309
- name: "protocolSwapFeePercentage",
310
- type: "uint256",
311
- },
312
- {
313
- internalType: "bytes",
314
- name: "userData",
315
- type: "bytes",
316
- },
317
- ],
318
- name: "onJoinPool",
319
- outputs: [
320
- {
321
- internalType: "uint256[]",
322
- name: "amountsIn",
323
- type: "uint256[]",
324
- },
325
- {
326
- internalType: "uint256[]",
327
- name: "dueProtocolFeeAmounts",
328
- type: "uint256[]",
329
- },
330
- ],
331
- stateMutability: "nonpayable",
332
- type: "function",
333
- },
334
- {
335
- inputs: [],
336
- name: "totalSupply",
337
- outputs: [
338
- {
339
- internalType: "uint256",
340
- name: "",
341
- type: "uint256",
342
- },
343
- ],
344
- stateMutability: "view",
345
- type: "function",
346
- },
347
- {
348
- inputs: [
349
- {
350
- internalType: "address",
351
- name: "to",
352
- type: "address",
353
- },
354
- {
355
- internalType: "uint256",
356
- name: "amount",
357
- type: "uint256",
358
- },
359
- ],
360
- name: "transfer",
361
- outputs: [
362
- {
363
- internalType: "bool",
364
- name: "",
365
- type: "bool",
366
- },
367
- ],
368
- stateMutability: "nonpayable",
369
- type: "function",
370
- },
371
- {
372
- inputs: [
373
- {
374
- internalType: "address",
375
- name: "from",
376
- type: "address",
377
- },
378
- {
379
- internalType: "address",
380
- name: "to",
381
- type: "address",
382
- },
383
- {
384
- internalType: "uint256",
385
- name: "amount",
386
- type: "uint256",
387
- },
388
- ],
389
- name: "transferFrom",
390
- outputs: [
391
- {
392
- internalType: "bool",
393
- name: "",
394
- type: "bool",
395
- },
396
- ],
397
- stateMutability: "nonpayable",
398
- type: "function",
399
- },
400
- ];
401
-
402
- export class IMetaStablePool__factory {
403
- static readonly abi = _abi;
404
- static createInterface(): IMetaStablePoolInterface {
405
- return new utils.Interface(_abi) as IMetaStablePoolInterface;
406
- }
407
- static connect(
408
- address: string,
409
- signerOrProvider: Signer | Provider
410
- ): IMetaStablePool {
411
- return new Contract(address, _abi, signerOrProvider) as IMetaStablePool;
412
- }
413
- }
@@ -1,155 +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
- IMultihopRouterEthereum,
9
- IMultihopRouterEthereumInterface,
10
- } from "../IMultihopRouterEthereum";
11
-
12
- const _abi = [
13
- {
14
- anonymous: false,
15
- inputs: [
16
- {
17
- indexed: false,
18
- internalType: "address",
19
- name: "pair",
20
- type: "address",
21
- },
22
- {
23
- indexed: false,
24
- internalType: "uint256",
25
- name: "amountOut",
26
- type: "uint256",
27
- },
28
- {
29
- indexed: false,
30
- internalType: "address",
31
- name: "output",
32
- type: "address",
33
- },
34
- ],
35
- name: "Exchange",
36
- type: "event",
37
- },
38
- {
39
- inputs: [],
40
- name: "WETH",
41
- outputs: [
42
- {
43
- internalType: "address",
44
- name: "",
45
- type: "address",
46
- },
47
- ],
48
- stateMutability: "view",
49
- type: "function",
50
- },
51
- {
52
- inputs: [],
53
- name: "factory",
54
- outputs: [
55
- {
56
- internalType: "address",
57
- name: "",
58
- type: "address",
59
- },
60
- ],
61
- stateMutability: "view",
62
- type: "function",
63
- },
64
- {
65
- inputs: [],
66
- name: "formula",
67
- outputs: [
68
- {
69
- internalType: "address",
70
- name: "",
71
- type: "address",
72
- },
73
- ],
74
- stateMutability: "view",
75
- type: "function",
76
- },
77
- {
78
- inputs: [
79
- {
80
- components: [
81
- {
82
- internalType: "bytes",
83
- name: "data",
84
- type: "bytes",
85
- },
86
- {
87
- internalType: "uint16",
88
- name: "dexOption",
89
- type: "uint16",
90
- },
91
- ],
92
- internalType: "struct IMultihopRouterEthereum.Swap[][]",
93
- name: "swapSequences",
94
- type: "tuple[][]",
95
- },
96
- {
97
- internalType: "address",
98
- name: "tokenIn",
99
- type: "address",
100
- },
101
- {
102
- internalType: "address",
103
- name: "tokenOut",
104
- type: "address",
105
- },
106
- {
107
- internalType: "uint256",
108
- name: "minTotalAmountOut",
109
- type: "uint256",
110
- },
111
- {
112
- internalType: "address",
113
- name: "to",
114
- type: "address",
115
- },
116
- {
117
- internalType: "uint256",
118
- name: "deadline",
119
- type: "uint256",
120
- },
121
- {
122
- internalType: "bytes",
123
- name: "destTokenFeeData",
124
- type: "bytes",
125
- },
126
- ],
127
- name: "multihopBatchSwapExactIn",
128
- outputs: [
129
- {
130
- internalType: "uint256",
131
- name: "totalAmountOut",
132
- type: "uint256",
133
- },
134
- ],
135
- stateMutability: "payable",
136
- type: "function",
137
- },
138
- ];
139
-
140
- export class IMultihopRouterEthereum__factory {
141
- static readonly abi = _abi;
142
- static createInterface(): IMultihopRouterEthereumInterface {
143
- return new utils.Interface(_abi) as IMultihopRouterEthereumInterface;
144
- }
145
- static connect(
146
- address: string,
147
- signerOrProvider: Signer | Provider
148
- ): IMultihopRouterEthereum {
149
- return new Contract(
150
- address,
151
- _abi,
152
- signerOrProvider
153
- ) as IMultihopRouterEthereum;
154
- }
155
- }
@@ -1,36 +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 { IRateProvider, IRateProviderInterface } from "../IRateProvider";
8
-
9
- const _abi = [
10
- {
11
- inputs: [],
12
- name: "getRate",
13
- outputs: [
14
- {
15
- internalType: "uint256",
16
- name: "",
17
- type: "uint256",
18
- },
19
- ],
20
- stateMutability: "view",
21
- type: "function",
22
- },
23
- ];
24
-
25
- export class IRateProvider__factory {
26
- static readonly abi = _abi;
27
- static createInterface(): IRateProviderInterface {
28
- return new utils.Interface(_abi) as IRateProviderInterface;
29
- }
30
- static connect(
31
- address: string,
32
- signerOrProvider: Signer | Provider
33
- ): IRateProvider {
34
- return new Contract(address, _abi, signerOrProvider) as IRateProvider;
35
- }
36
- }
@@ -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
- }