@pendle/core-v2 0.20.1-testnet → 0.20.2-testnet

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) 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/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  14. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +34 -2
  16. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  24. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  30. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +2 -2
  32. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +2 -2
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +2 -2
  36. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  38. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  40. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  43. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  45. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.json +141 -0
  49. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.json +141 -0
  51. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +4 -0
  52. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +50 -0
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.json +143 -2
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +1296 -0
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +4 -0
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +1283 -0
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +4 -0
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.json +1218 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +4 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +1231 -0
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +4 -0
  64. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.json +10 -0
  65. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +4 -0
  66. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.json +133 -0
  67. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +4 -0
  68. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.json +10 -0
  69. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +4 -0
  70. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.json +40 -0
  71. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +4 -0
  72. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.json +322 -0
  73. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +4 -0
  74. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.json +1171 -0
  75. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +4 -0
  76. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.json +10 -0
  77. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +4 -0
  78. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.json +133 -0
  79. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  81. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +143 -2
  83. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.json +143 -2
  85. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  86. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.json +143 -2
  87. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  88. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.json +141 -0
  89. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  90. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.json +143 -2
  91. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  92. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +143 -2
  93. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  94. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  95. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  96. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  97. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  98. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  99. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  100. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.json +2 -2
  101. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  102. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +76 -2
  103. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.json +10 -0
  105. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.json +24 -0
  107. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.json +133 -0
  109. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.json +328 -0
  111. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.json +467 -0
  113. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +4 -0
  114. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.json +61 -0
  115. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +4 -0
  116. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.json +30 -0
  117. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +4 -0
  118. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.json +398 -0
  119. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +4 -0
  120. package/build/artifacts/contracts/{router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json → interfaces/Balancer/IRateProvider.sol/IRateProvider.json} +5 -5
  121. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +4 -0
  122. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.json +278 -0
  123. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.json +18 -0
  125. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +80 -32
  128. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +100 -40
  130. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +40 -16
  132. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +40 -16
  135. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +260 -104
  137. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.json +19 -0
  140. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +2 -2
  145. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
  147. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +4 -0
  148. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.json +322 -0
  149. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
  151. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +96 -53
  153. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  155. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +116 -61
  157. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  158. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  159. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +44 -25
  161. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  162. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  163. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  164. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +44 -25
  165. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  166. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  167. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  168. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +1 -1
  169. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  170. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  171. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  172. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  173. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
  174. package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
  175. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
  176. package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
  177. package/build/artifacts/contracts/router/swap-aggregator/ISwapAggregator.sol/ISwapAggregator.dbg.json +4 -0
  178. package/build/artifacts/contracts/router/swap-aggregator/ISwapAggregator.sol/ISwapAggregator.json +51 -0
  179. package/build/artifacts/contracts/router/swap-aggregator/SwapAggregator.sol/SwapAggregator.dbg.json +4 -0
  180. package/build/artifacts/contracts/router/swap-aggregator/SwapAggregator.sol/SwapAggregator.json +256 -0
  181. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +4 -0
  182. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.json +10 -0
  183. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
  184. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
  185. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
  186. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
  187. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
  188. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +359 -0
  189. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
  190. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
  191. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +4 -0
  192. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +183 -0
  193. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
  194. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
  195. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +7 -9
  196. package/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol +10 -0
  197. package/contracts/core/StandardizedYield/SYBase.sol +23 -5
  198. package/contracts/core/StandardizedYield/StEthHelper.sol +71 -0
  199. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol +170 -0
  200. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol +162 -0
  201. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol +134 -0
  202. package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol +154 -0
  203. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol +289 -0
  204. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol +618 -0
  205. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol +68 -0
  206. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol +322 -0
  207. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol +390 -0
  208. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol +329 -0
  209. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol +30 -0
  210. package/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol +189 -0
  211. package/contracts/core/libraries/ArrayLib.sol +6 -3
  212. package/contracts/core/libraries/Errors.sol +8 -0
  213. package/contracts/interfaces/Balancer/IAsset.sol +4 -0
  214. package/contracts/interfaces/Balancer/IBalancerFees.sol +6 -0
  215. package/contracts/interfaces/Balancer/IBalancerStablePreview.sol +22 -0
  216. package/contracts/interfaces/Balancer/IBasePool.sol +30 -0
  217. package/contracts/interfaces/Balancer/IComposableStable.sol +39 -0
  218. package/contracts/interfaces/Balancer/IGauge.sol +10 -0
  219. package/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol +6 -0
  220. package/contracts/interfaces/Balancer/IMetaStablePool.sol +31 -0
  221. package/contracts/interfaces/Balancer/IRateProvider.sol +6 -0
  222. package/contracts/interfaces/Balancer/IVault.sol +78 -0
  223. package/contracts/interfaces/ConvexCurve/IRewards.sol +5 -0
  224. package/contracts/interfaces/IPActionAddRemoveLiq.sol +1 -1
  225. package/contracts/interfaces/IPActionMintRedeem.sol +2 -3
  226. package/contracts/interfaces/IPActionSwapPT.sol +1 -1
  227. package/contracts/interfaces/IPActionSwapPTYT.sol +1 -1
  228. package/contracts/interfaces/IPActionSwapYT.sol +1 -1
  229. package/contracts/interfaces/IPFeeDistributor.sol +2 -0
  230. package/contracts/offchain-helpers/Multicall2.sol +103 -0
  231. package/contracts/router/ActionAddRemoveLiq.sol +2 -2
  232. package/contracts/router/ActionMintRedeem.sol +7 -9
  233. package/contracts/router/ActionSwapPT.sol +2 -2
  234. package/contracts/router/ActionSwapYT.sol +2 -2
  235. package/contracts/router/base/ActionBaseMintRedeem.sol +51 -14
  236. package/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol +45 -0
  237. package/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol +71 -0
  238. package/contracts/router/swap-aggregator/ISwapAggregator.sol +21 -0
  239. package/contracts/router/swap-aggregator/SwapAggregator.sol +62 -0
  240. package/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol +302 -0
  241. package/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol +134 -0
  242. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
  243. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol +185 -0
  244. package/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol +30 -0
  245. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol +33 -0
  246. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
  247. package/deployments/43113-core.json +1 -1
  248. package/deployments/80001-core.json +1 -1
  249. package/package.json +6 -6
  250. package/typechain-types/ActionAddRemoveLiq.ts +41 -35
  251. package/typechain-types/ActionBaseMintRedeem.ts +8 -8
  252. package/typechain-types/ActionMintRedeem.ts +45 -42
  253. package/typechain-types/ActionSwapPT.ts +28 -22
  254. package/typechain-types/ActionSwapYT.ts +28 -22
  255. package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
  256. package/typechain-types/IAggregationExecutor.ts +182 -0
  257. package/typechain-types/IExecutorHelperEthereum1.ts +599 -0
  258. package/typechain-types/IHashflow.ts +159 -0
  259. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
  260. package/typechain-types/IMetaAggregationRouter.ts +213 -0
  261. package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
  262. package/typechain-types/IPActionAddRemoveLiq.ts +22 -16
  263. package/typechain-types/IPActionMintRedeem.ts +26 -23
  264. package/typechain-types/IPActionSwapPT.ts +20 -14
  265. package/typechain-types/IPActionSwapYT.ts +20 -14
  266. package/typechain-types/IPAllAction.ts +34 -31
  267. package/typechain-types/IPFeeDistributor.ts +18 -0
  268. package/typechain-types/IRewards.ts +35 -5
  269. package/typechain-types/ISwapAggregator.ts +124 -0
  270. package/typechain-types/PendleConvexLPSY.ts +204 -0
  271. package/typechain-types/PendleCurveFraxUsdcSY.ts +204 -0
  272. package/typechain-types/PendleCurveUsdd3CrvSY.ts +204 -0
  273. package/typechain-types/PendleFeeDistributor.ts +37 -0
  274. package/typechain-types/PendleLooksStakingSY.ts +204 -0
  275. package/typechain-types/PendleQiTokenSY.ts +204 -0
  276. package/typechain-types/PendleWstEthSY.ts +204 -0
  277. package/typechain-types/SAPE.ts +204 -0
  278. package/typechain-types/SYBase.ts +204 -0
  279. package/typechain-types/SYBaseWithRewards.ts +204 -0
  280. package/typechain-types/SwapAggregator.ts +406 -0
  281. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +99 -56
  282. package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +1 -1
  283. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  284. package/typechain-types/factories/ActionMintRedeem__factory.ts +119 -64
  285. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  286. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  287. package/typechain-types/factories/ActionSwapPT__factory.ts +47 -28
  288. package/typechain-types/factories/ActionSwapYT__factory.ts +47 -28
  289. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  290. package/typechain-types/factories/BulkSellerFactory__factory.ts +1 -1
  291. package/typechain-types/factories/BulkSellerOffchain__factory.ts +1 -1
  292. package/typechain-types/factories/BulkSeller__factory.ts +1 -1
  293. package/typechain-types/factories/Errors__factory.ts +75 -1
  294. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
  295. package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
  296. package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +378 -0
  297. package/typechain-types/factories/IHashflow__factory.ts +113 -0
  298. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
  299. package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
  300. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
  301. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +80 -32
  302. package/typechain-types/factories/IPActionMintRedeem__factory.ts +100 -40
  303. package/typechain-types/factories/IPActionSwapPT__factory.ts +40 -16
  304. package/typechain-types/factories/IPActionSwapYT__factory.ts +40 -16
  305. package/typechain-types/factories/IPAllAction__factory.ts +260 -104
  306. package/typechain-types/factories/IPFeeDistributor__factory.ts +19 -0
  307. package/typechain-types/factories/IRewards__factory.ts +18 -0
  308. package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
  309. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  310. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  311. package/typechain-types/factories/PendleAura3EthSY__factory.ts +1 -1
  312. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1 -1
  313. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1 -1
  314. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -1
  315. package/typechain-types/factories/PendleConvexLPSY__factory.ts +141 -0
  316. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +142 -1
  317. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +142 -1
  318. package/typechain-types/factories/PendleFeeDistributor__factory.ts +33 -1
  319. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  320. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  321. package/typechain-types/factories/PendleLooksStakingSY__factory.ts +142 -1
  322. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  323. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  324. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  325. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  326. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  327. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  328. package/typechain-types/factories/PendleQiTokenSY__factory.ts +142 -1
  329. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  330. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  331. package/typechain-types/factories/PendleWstEthSY__factory.ts +142 -1
  332. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  333. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  334. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  335. package/typechain-types/factories/SAPE__factory.ts +142 -1
  336. package/typechain-types/factories/SYBaseWithRewards__factory.ts +141 -0
  337. package/typechain-types/factories/SYBase__factory.ts +141 -0
  338. package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
  339. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  340. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  341. package/typechain-types/hardhat.d.ts +56 -20
  342. package/typechain-types/index.ts +16 -8
  343. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +0 -4
  344. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +0 -224
  345. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +0 -4
  346. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +0 -35
  347. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
  348. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
  349. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +0 -4
  350. package/contracts/router/kyberswap/AggregationRouterHelper.sol +0 -331
  351. package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +0 -10
  352. package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
  353. package/contracts/router/kyberswap/KyberSwapHelper.sol +0 -79
@@ -0,0 +1,359 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IExecutorHelperEthereum1",
4
+ "sourceName": "contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "index",
11
+ "type": "uint256"
12
+ },
13
+ {
14
+ "internalType": "bytes",
15
+ "name": "data",
16
+ "type": "bytes"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "previousAmountOut",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "executeBalV2Swap",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "payable",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "uint256",
39
+ "name": "index",
40
+ "type": "uint256"
41
+ },
42
+ {
43
+ "internalType": "bytes",
44
+ "name": "data",
45
+ "type": "bytes"
46
+ },
47
+ {
48
+ "internalType": "uint256",
49
+ "name": "previousAmountOut",
50
+ "type": "uint256"
51
+ }
52
+ ],
53
+ "name": "executeCurveSwap",
54
+ "outputs": [
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "",
58
+ "type": "uint256"
59
+ }
60
+ ],
61
+ "stateMutability": "payable",
62
+ "type": "function"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "uint256",
68
+ "name": "index",
69
+ "type": "uint256"
70
+ },
71
+ {
72
+ "internalType": "bytes",
73
+ "name": "data",
74
+ "type": "bytes"
75
+ },
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "previousAmountOut",
79
+ "type": "uint256"
80
+ }
81
+ ],
82
+ "name": "executeDODOSwap",
83
+ "outputs": [
84
+ {
85
+ "internalType": "uint256",
86
+ "name": "",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "stateMutability": "payable",
91
+ "type": "function"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "index",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "internalType": "bytes",
102
+ "name": "data",
103
+ "type": "bytes"
104
+ },
105
+ {
106
+ "internalType": "uint256",
107
+ "name": "previousAmountOut",
108
+ "type": "uint256"
109
+ }
110
+ ],
111
+ "name": "executeHashflowSwap",
112
+ "outputs": [
113
+ {
114
+ "internalType": "uint256",
115
+ "name": "",
116
+ "type": "uint256"
117
+ }
118
+ ],
119
+ "stateMutability": "payable",
120
+ "type": "function"
121
+ },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "uint256",
126
+ "name": "index",
127
+ "type": "uint256"
128
+ },
129
+ {
130
+ "internalType": "bytes",
131
+ "name": "data",
132
+ "type": "bytes"
133
+ },
134
+ {
135
+ "internalType": "uint256",
136
+ "name": "previousAmountOut",
137
+ "type": "uint256"
138
+ }
139
+ ],
140
+ "name": "executeKyberDMMSwap",
141
+ "outputs": [
142
+ {
143
+ "internalType": "uint256",
144
+ "name": "",
145
+ "type": "uint256"
146
+ }
147
+ ],
148
+ "stateMutability": "payable",
149
+ "type": "function"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "index",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "bytes",
160
+ "name": "data",
161
+ "type": "bytes"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "previousAmountOut",
166
+ "type": "uint256"
167
+ }
168
+ ],
169
+ "name": "executePSMSwap",
170
+ "outputs": [
171
+ {
172
+ "internalType": "uint256",
173
+ "name": "",
174
+ "type": "uint256"
175
+ }
176
+ ],
177
+ "stateMutability": "payable",
178
+ "type": "function"
179
+ },
180
+ {
181
+ "inputs": [
182
+ {
183
+ "internalType": "uint256",
184
+ "name": "index",
185
+ "type": "uint256"
186
+ },
187
+ {
188
+ "internalType": "bytes",
189
+ "name": "data",
190
+ "type": "bytes"
191
+ },
192
+ {
193
+ "internalType": "uint256",
194
+ "name": "previousAmountOut",
195
+ "type": "uint256"
196
+ }
197
+ ],
198
+ "name": "executeRfqSwap",
199
+ "outputs": [
200
+ {
201
+ "internalType": "uint256",
202
+ "name": "",
203
+ "type": "uint256"
204
+ }
205
+ ],
206
+ "stateMutability": "payable",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "index",
214
+ "type": "uint256"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "data",
219
+ "type": "bytes"
220
+ },
221
+ {
222
+ "internalType": "uint256",
223
+ "name": "previousAmountOut",
224
+ "type": "uint256"
225
+ }
226
+ ],
227
+ "name": "executeStableSwap",
228
+ "outputs": [
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "",
232
+ "type": "uint256"
233
+ }
234
+ ],
235
+ "stateMutability": "payable",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "uint256",
242
+ "name": "index",
243
+ "type": "uint256"
244
+ },
245
+ {
246
+ "internalType": "bytes",
247
+ "name": "data",
248
+ "type": "bytes"
249
+ },
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "previousAmountOut",
253
+ "type": "uint256"
254
+ }
255
+ ],
256
+ "name": "executeSynthetixSwap",
257
+ "outputs": [
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "",
261
+ "type": "uint256"
262
+ }
263
+ ],
264
+ "stateMutability": "payable",
265
+ "type": "function"
266
+ },
267
+ {
268
+ "inputs": [
269
+ {
270
+ "internalType": "uint256",
271
+ "name": "index",
272
+ "type": "uint256"
273
+ },
274
+ {
275
+ "internalType": "bytes",
276
+ "name": "data",
277
+ "type": "bytes"
278
+ },
279
+ {
280
+ "internalType": "uint256",
281
+ "name": "previousAmountOut",
282
+ "type": "uint256"
283
+ }
284
+ ],
285
+ "name": "executeUniSwap",
286
+ "outputs": [
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "",
290
+ "type": "uint256"
291
+ }
292
+ ],
293
+ "stateMutability": "payable",
294
+ "type": "function"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "uint256",
300
+ "name": "index",
301
+ "type": "uint256"
302
+ },
303
+ {
304
+ "internalType": "bytes",
305
+ "name": "data",
306
+ "type": "bytes"
307
+ },
308
+ {
309
+ "internalType": "uint256",
310
+ "name": "previousAmountOut",
311
+ "type": "uint256"
312
+ }
313
+ ],
314
+ "name": "executeUniV3ProMMSwap",
315
+ "outputs": [
316
+ {
317
+ "internalType": "uint256",
318
+ "name": "",
319
+ "type": "uint256"
320
+ }
321
+ ],
322
+ "stateMutability": "payable",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "uint256",
329
+ "name": "index",
330
+ "type": "uint256"
331
+ },
332
+ {
333
+ "internalType": "bytes",
334
+ "name": "data",
335
+ "type": "bytes"
336
+ },
337
+ {
338
+ "internalType": "uint256",
339
+ "name": "previousAmountOut",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "name": "executeWrappedstETHSwap",
344
+ "outputs": [
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "stateMutability": "payable",
352
+ "type": "function"
353
+ }
354
+ ],
355
+ "bytecode": "0x",
356
+ "deployedBytecode": "0x",
357
+ "linkReferences": {},
358
+ "deployedLinkReferences": {}
359
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../../../build-info/3ccf876a3c1da743053c29ddd0726d27.json"
4
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IHashflow",
4
+ "sourceName": "contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "enum IHashflow.RFQType",
12
+ "name": "rfqType",
13
+ "type": "uint8"
14
+ },
15
+ {
16
+ "internalType": "address",
17
+ "name": "pool",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "internalType": "address",
22
+ "name": "eoa",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "internalType": "address",
27
+ "name": "trader",
28
+ "type": "address"
29
+ },
30
+ {
31
+ "internalType": "address",
32
+ "name": "effectiveTrader",
33
+ "type": "address"
34
+ },
35
+ {
36
+ "internalType": "address",
37
+ "name": "baseToken",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "address",
42
+ "name": "quoteToken",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "effectiveBaseTokenAmount",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "maxBaseTokenAmount",
53
+ "type": "uint256"
54
+ },
55
+ {
56
+ "internalType": "uint256",
57
+ "name": "maxQuoteTokenAmount",
58
+ "type": "uint256"
59
+ },
60
+ {
61
+ "internalType": "uint256",
62
+ "name": "fees",
63
+ "type": "uint256"
64
+ },
65
+ {
66
+ "internalType": "uint256",
67
+ "name": "quoteExpiry",
68
+ "type": "uint256"
69
+ },
70
+ {
71
+ "internalType": "uint256",
72
+ "name": "nonce",
73
+ "type": "uint256"
74
+ },
75
+ {
76
+ "internalType": "bytes32",
77
+ "name": "txid",
78
+ "type": "bytes32"
79
+ },
80
+ {
81
+ "internalType": "bytes",
82
+ "name": "signedQuote",
83
+ "type": "bytes"
84
+ }
85
+ ],
86
+ "internalType": "struct IHashflow.Quote",
87
+ "name": "quote",
88
+ "type": "tuple"
89
+ }
90
+ ],
91
+ "name": "tradeSingleHop",
92
+ "outputs": [],
93
+ "stateMutability": "payable",
94
+ "type": "function"
95
+ }
96
+ ],
97
+ "bytecode": "0x",
98
+ "deployedBytecode": "0x",
99
+ "linkReferences": {},
100
+ "deployedLinkReferences": {}
101
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../../../build-info/3ccf876a3c1da743053c29ddd0726d27.json"
4
+ }
@@ -0,0 +1,183 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IMetaAggregationRouter",
4
+ "sourceName": "contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouter.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "contract IAggregationExecutor",
10
+ "name": "caller",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "components": [
15
+ {
16
+ "internalType": "contract IERC20",
17
+ "name": "srcToken",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "internalType": "contract IERC20",
22
+ "name": "dstToken",
23
+ "type": "address"
24
+ },
25
+ {
26
+ "internalType": "address[]",
27
+ "name": "srcReceivers",
28
+ "type": "address[]"
29
+ },
30
+ {
31
+ "internalType": "uint256[]",
32
+ "name": "srcAmounts",
33
+ "type": "uint256[]"
34
+ },
35
+ {
36
+ "internalType": "address",
37
+ "name": "dstReceiver",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "uint256",
42
+ "name": "amount",
43
+ "type": "uint256"
44
+ },
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "minReturnAmount",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "flags",
53
+ "type": "uint256"
54
+ },
55
+ {
56
+ "internalType": "bytes",
57
+ "name": "permit",
58
+ "type": "bytes"
59
+ }
60
+ ],
61
+ "internalType": "struct IMetaAggregationRouter.SwapDescription",
62
+ "name": "desc",
63
+ "type": "tuple"
64
+ },
65
+ {
66
+ "internalType": "bytes",
67
+ "name": "executorData",
68
+ "type": "bytes"
69
+ },
70
+ {
71
+ "internalType": "bytes",
72
+ "name": "clientData",
73
+ "type": "bytes"
74
+ }
75
+ ],
76
+ "name": "swap",
77
+ "outputs": [
78
+ {
79
+ "internalType": "uint256",
80
+ "name": "",
81
+ "type": "uint256"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "",
86
+ "type": "uint256"
87
+ }
88
+ ],
89
+ "stateMutability": "payable",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "contract IAggregationExecutor",
96
+ "name": "caller",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "components": [
101
+ {
102
+ "internalType": "contract IERC20",
103
+ "name": "srcToken",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "internalType": "contract IERC20",
108
+ "name": "dstToken",
109
+ "type": "address"
110
+ },
111
+ {
112
+ "internalType": "address[]",
113
+ "name": "srcReceivers",
114
+ "type": "address[]"
115
+ },
116
+ {
117
+ "internalType": "uint256[]",
118
+ "name": "srcAmounts",
119
+ "type": "uint256[]"
120
+ },
121
+ {
122
+ "internalType": "address",
123
+ "name": "dstReceiver",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "amount",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "minReturnAmount",
134
+ "type": "uint256"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "flags",
139
+ "type": "uint256"
140
+ },
141
+ {
142
+ "internalType": "bytes",
143
+ "name": "permit",
144
+ "type": "bytes"
145
+ }
146
+ ],
147
+ "internalType": "struct IMetaAggregationRouter.SwapDescription",
148
+ "name": "desc",
149
+ "type": "tuple"
150
+ },
151
+ {
152
+ "internalType": "bytes",
153
+ "name": "executorData",
154
+ "type": "bytes"
155
+ },
156
+ {
157
+ "internalType": "bytes",
158
+ "name": "clientData",
159
+ "type": "bytes"
160
+ }
161
+ ],
162
+ "name": "swapSimpleMode",
163
+ "outputs": [
164
+ {
165
+ "internalType": "uint256",
166
+ "name": "",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "stateMutability": "nonpayable",
176
+ "type": "function"
177
+ }
178
+ ],
179
+ "bytecode": "0x",
180
+ "deployedBytecode": "0x",
181
+ "linkReferences": {},
182
+ "deployedLinkReferences": {}
183
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../../../build-info/3ccf876a3c1da743053c29ddd0726d27.json"
4
+ }