@pendle/core-v2 1.3.0-mainnet → 1.4.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 (187) 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/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +1 -41
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +2 -41
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +2 -41
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -41
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  86. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
  87. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  88. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  89. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +4 -0
  90. package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
  91. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  93. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  95. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  97. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  100. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  101. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  102. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  103. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
  105. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +1 -1
  106. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  107. package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
  108. package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
  109. package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
  110. package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
  111. package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
  112. package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +359 -0
  113. package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
  114. package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
  115. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +4 -0
  116. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +183 -0
  117. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
  118. package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
  119. package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +7 -9
  120. package/contracts/core/StandardizedYield/StEthHelper.sol +4 -4
  121. package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
  122. package/contracts/router/kyberswap/AggregationRouterHelper.sol +182 -206
  123. package/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol +134 -0
  124. package/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
  125. package/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol +185 -0
  126. package/contracts/router/kyberswap/interfaces/IHashflow.sol +30 -0
  127. package/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol +33 -0
  128. package/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
  129. package/deployments/1-markets/BALANCER-LP-AURA-WSTETH-WETH-JUN272024.json +10 -0
  130. package/deployments/1-offchain-helper.json +4 -0
  131. package/package.json +1 -1
  132. package/typechain-types/GMXPreviewHelper.ts +81 -0
  133. package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
  134. package/typechain-types/IAggregationExecutor.ts +182 -0
  135. package/typechain-types/IExecutorHelperEthereum1.ts +599 -0
  136. package/typechain-types/IGMXVault.ts +494 -0
  137. package/typechain-types/IGlpManager.ts +115 -0
  138. package/typechain-types/IHashflow.ts +159 -0
  139. package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
  140. package/typechain-types/IMetaAggregationRouter.ts +213 -0
  141. package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
  142. package/typechain-types/IPYieldTokenV2.ts +915 -0
  143. package/typechain-types/IRewardRouterV2.ts +303 -0
  144. package/typechain-types/ISwapAggregator.ts +124 -0
  145. package/typechain-types/IVaultPriceFeed.ts +114 -0
  146. package/typechain-types/InterestManagerYTV2.ts +124 -0
  147. package/typechain-types/PendleAura3EthSY.ts +0 -39
  148. package/typechain-types/PendleAuraCbethWstethSY.ts +0 -39
  149. package/typechain-types/PendleAuraWethWstethSY.ts +0 -39
  150. package/typechain-types/PendleGlpSY.ts +1396 -0
  151. package/typechain-types/PendleMulticall.ts +110 -0
  152. package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
  153. package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
  154. package/typechain-types/PendleYieldTokenV2.ts +1304 -0
  155. package/typechain-types/SwapAggregator.ts +406 -0
  156. package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
  157. package/typechain-types/factories/GMXPreviewHelper__factory.ts +39 -0
  158. package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
  159. package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
  160. package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +378 -0
  161. package/typechain-types/factories/IGMXVault__factory.ts +320 -0
  162. package/typechain-types/factories/IGlpManager__factory.ts +55 -0
  163. package/typechain-types/factories/IHashflow__factory.ts +113 -0
  164. package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
  165. package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
  166. package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
  167. package/typechain-types/factories/IPYieldTokenV2__factory.ts +702 -0
  168. package/typechain-types/factories/IRewardRouterV2__factory.ts +180 -0
  169. package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
  170. package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
  171. package/typechain-types/factories/InterestManagerYTV2__factory.ts +63 -0
  172. package/typechain-types/factories/PendleAura3EthSY__factory.ts +1 -40
  173. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1 -40
  174. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -40
  175. package/typechain-types/factories/PendleGlpSY__factory.ts +1216 -0
  176. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  177. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  178. package/typechain-types/factories/PendleMulticall__factory.ts +100 -0
  179. package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
  180. package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
  181. package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1122 -0
  182. package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
  183. package/typechain-types/hardhat.d.ts +103 -13
  184. package/typechain-types/index.ts +24 -4
  185. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
  186. package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
  187. package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
@@ -0,0 +1,179 @@
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
+ I1inchAggregationRouterV5,
9
+ I1inchAggregationRouterV5Interface,
10
+ } from "../I1inchAggregationRouterV5";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "executor",
18
+ type: "address",
19
+ },
20
+ {
21
+ components: [
22
+ {
23
+ internalType: "contract IERC20",
24
+ name: "srcToken",
25
+ type: "address",
26
+ },
27
+ {
28
+ internalType: "contract IERC20",
29
+ name: "dstToken",
30
+ type: "address",
31
+ },
32
+ {
33
+ internalType: "address payable",
34
+ name: "srcReceiver",
35
+ type: "address",
36
+ },
37
+ {
38
+ internalType: "address payable",
39
+ name: "dstReceiver",
40
+ type: "address",
41
+ },
42
+ {
43
+ internalType: "uint256",
44
+ name: "amount",
45
+ type: "uint256",
46
+ },
47
+ {
48
+ internalType: "uint256",
49
+ name: "minReturnAmount",
50
+ type: "uint256",
51
+ },
52
+ {
53
+ internalType: "uint256",
54
+ name: "flags",
55
+ type: "uint256",
56
+ },
57
+ ],
58
+ internalType: "struct I1inchAggregationRouterV5.SwapDescription",
59
+ name: "desc",
60
+ type: "tuple",
61
+ },
62
+ {
63
+ internalType: "bytes",
64
+ name: "permit",
65
+ type: "bytes",
66
+ },
67
+ {
68
+ internalType: "bytes",
69
+ name: "data",
70
+ type: "bytes",
71
+ },
72
+ ],
73
+ name: "swap",
74
+ outputs: [
75
+ {
76
+ internalType: "uint256",
77
+ name: "returnAmount",
78
+ type: "uint256",
79
+ },
80
+ {
81
+ internalType: "uint256",
82
+ name: "spentAmount",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ stateMutability: "payable",
87
+ type: "function",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "address payable",
93
+ name: "recipient",
94
+ type: "address",
95
+ },
96
+ {
97
+ internalType: "uint256",
98
+ name: "amount",
99
+ type: "uint256",
100
+ },
101
+ {
102
+ internalType: "uint256",
103
+ name: "minReturn",
104
+ type: "uint256",
105
+ },
106
+ {
107
+ internalType: "uint256[]",
108
+ name: "pools",
109
+ type: "uint256[]",
110
+ },
111
+ ],
112
+ name: "uniswapV3SwapTo",
113
+ outputs: [
114
+ {
115
+ internalType: "uint256",
116
+ name: "returnAmount",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ stateMutability: "payable",
121
+ type: "function",
122
+ },
123
+ {
124
+ inputs: [
125
+ {
126
+ internalType: "address payable",
127
+ name: "recipient",
128
+ type: "address",
129
+ },
130
+ {
131
+ internalType: "address",
132
+ name: "srcToken",
133
+ type: "address",
134
+ },
135
+ {
136
+ internalType: "uint256",
137
+ name: "amount",
138
+ type: "uint256",
139
+ },
140
+ {
141
+ internalType: "uint256",
142
+ name: "minReturn",
143
+ type: "uint256",
144
+ },
145
+ {
146
+ internalType: "uint256[]",
147
+ name: "pools",
148
+ type: "uint256[]",
149
+ },
150
+ ],
151
+ name: "unoswapTo",
152
+ outputs: [
153
+ {
154
+ internalType: "uint256",
155
+ name: "returnAmount",
156
+ type: "uint256",
157
+ },
158
+ ],
159
+ stateMutability: "payable",
160
+ type: "function",
161
+ },
162
+ ];
163
+
164
+ export class I1inchAggregationRouterV5__factory {
165
+ static readonly abi = _abi;
166
+ static createInterface(): I1inchAggregationRouterV5Interface {
167
+ return new utils.Interface(_abi) as I1inchAggregationRouterV5Interface;
168
+ }
169
+ static connect(
170
+ address: string,
171
+ signerOrProvider: Signer | Provider
172
+ ): I1inchAggregationRouterV5 {
173
+ return new Contract(
174
+ address,
175
+ _abi,
176
+ signerOrProvider
177
+ ) as I1inchAggregationRouterV5;
178
+ }
179
+ }
@@ -0,0 +1,84 @@
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
+ IAggregationExecutor,
9
+ IAggregationExecutorInterface,
10
+ } from "../IAggregationExecutor";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "bytes",
17
+ name: "data",
18
+ type: "bytes",
19
+ },
20
+ ],
21
+ name: "callBytes",
22
+ outputs: [],
23
+ stateMutability: "payable",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [
28
+ {
29
+ internalType: "address",
30
+ name: "tokenIn",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "tokenOut",
36
+ type: "address",
37
+ },
38
+ {
39
+ internalType: "address",
40
+ name: "to",
41
+ type: "address",
42
+ },
43
+ {
44
+ internalType: "bytes",
45
+ name: "destTokenFeeData",
46
+ type: "bytes",
47
+ },
48
+ ],
49
+ name: "finalTransactionProcessing",
50
+ outputs: [],
51
+ stateMutability: "nonpayable",
52
+ type: "function",
53
+ },
54
+ {
55
+ inputs: [
56
+ {
57
+ internalType: "bytes",
58
+ name: "data",
59
+ type: "bytes",
60
+ },
61
+ ],
62
+ name: "swapSingleSequence",
63
+ outputs: [],
64
+ stateMutability: "nonpayable",
65
+ type: "function",
66
+ },
67
+ ];
68
+
69
+ export class IAggregationExecutor__factory {
70
+ static readonly abi = _abi;
71
+ static createInterface(): IAggregationExecutorInterface {
72
+ return new utils.Interface(_abi) as IAggregationExecutorInterface;
73
+ }
74
+ static connect(
75
+ address: string,
76
+ signerOrProvider: Signer | Provider
77
+ ): IAggregationExecutor {
78
+ return new Contract(
79
+ address,
80
+ _abi,
81
+ signerOrProvider
82
+ ) as IAggregationExecutor;
83
+ }
84
+ }
@@ -0,0 +1,378 @@
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
+ IExecutorHelperEthereum1,
9
+ IExecutorHelperEthereum1Interface,
10
+ } from "../IExecutorHelperEthereum1";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "index",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "bytes",
22
+ name: "data",
23
+ type: "bytes",
24
+ },
25
+ {
26
+ internalType: "uint256",
27
+ name: "previousAmountOut",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "executeBalV2Swap",
32
+ outputs: [
33
+ {
34
+ internalType: "uint256",
35
+ name: "",
36
+ type: "uint256",
37
+ },
38
+ ],
39
+ stateMutability: "payable",
40
+ type: "function",
41
+ },
42
+ {
43
+ inputs: [
44
+ {
45
+ internalType: "uint256",
46
+ name: "index",
47
+ type: "uint256",
48
+ },
49
+ {
50
+ internalType: "bytes",
51
+ name: "data",
52
+ type: "bytes",
53
+ },
54
+ {
55
+ internalType: "uint256",
56
+ name: "previousAmountOut",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ name: "executeCurveSwap",
61
+ outputs: [
62
+ {
63
+ internalType: "uint256",
64
+ name: "",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ stateMutability: "payable",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "uint256",
75
+ name: "index",
76
+ type: "uint256",
77
+ },
78
+ {
79
+ internalType: "bytes",
80
+ name: "data",
81
+ type: "bytes",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "previousAmountOut",
86
+ type: "uint256",
87
+ },
88
+ ],
89
+ name: "executeDODOSwap",
90
+ outputs: [
91
+ {
92
+ internalType: "uint256",
93
+ name: "",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ stateMutability: "payable",
98
+ type: "function",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "uint256",
104
+ name: "index",
105
+ type: "uint256",
106
+ },
107
+ {
108
+ internalType: "bytes",
109
+ name: "data",
110
+ type: "bytes",
111
+ },
112
+ {
113
+ internalType: "uint256",
114
+ name: "previousAmountOut",
115
+ type: "uint256",
116
+ },
117
+ ],
118
+ name: "executeHashflowSwap",
119
+ outputs: [
120
+ {
121
+ internalType: "uint256",
122
+ name: "",
123
+ type: "uint256",
124
+ },
125
+ ],
126
+ stateMutability: "payable",
127
+ type: "function",
128
+ },
129
+ {
130
+ inputs: [
131
+ {
132
+ internalType: "uint256",
133
+ name: "index",
134
+ type: "uint256",
135
+ },
136
+ {
137
+ internalType: "bytes",
138
+ name: "data",
139
+ type: "bytes",
140
+ },
141
+ {
142
+ internalType: "uint256",
143
+ name: "previousAmountOut",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ name: "executeKyberDMMSwap",
148
+ outputs: [
149
+ {
150
+ internalType: "uint256",
151
+ name: "",
152
+ type: "uint256",
153
+ },
154
+ ],
155
+ stateMutability: "payable",
156
+ type: "function",
157
+ },
158
+ {
159
+ inputs: [
160
+ {
161
+ internalType: "uint256",
162
+ name: "index",
163
+ type: "uint256",
164
+ },
165
+ {
166
+ internalType: "bytes",
167
+ name: "data",
168
+ type: "bytes",
169
+ },
170
+ {
171
+ internalType: "uint256",
172
+ name: "previousAmountOut",
173
+ type: "uint256",
174
+ },
175
+ ],
176
+ name: "executePSMSwap",
177
+ outputs: [
178
+ {
179
+ internalType: "uint256",
180
+ name: "",
181
+ type: "uint256",
182
+ },
183
+ ],
184
+ stateMutability: "payable",
185
+ type: "function",
186
+ },
187
+ {
188
+ inputs: [
189
+ {
190
+ internalType: "uint256",
191
+ name: "index",
192
+ type: "uint256",
193
+ },
194
+ {
195
+ internalType: "bytes",
196
+ name: "data",
197
+ type: "bytes",
198
+ },
199
+ {
200
+ internalType: "uint256",
201
+ name: "previousAmountOut",
202
+ type: "uint256",
203
+ },
204
+ ],
205
+ name: "executeRfqSwap",
206
+ outputs: [
207
+ {
208
+ internalType: "uint256",
209
+ name: "",
210
+ type: "uint256",
211
+ },
212
+ ],
213
+ stateMutability: "payable",
214
+ type: "function",
215
+ },
216
+ {
217
+ inputs: [
218
+ {
219
+ internalType: "uint256",
220
+ name: "index",
221
+ type: "uint256",
222
+ },
223
+ {
224
+ internalType: "bytes",
225
+ name: "data",
226
+ type: "bytes",
227
+ },
228
+ {
229
+ internalType: "uint256",
230
+ name: "previousAmountOut",
231
+ type: "uint256",
232
+ },
233
+ ],
234
+ name: "executeStableSwap",
235
+ outputs: [
236
+ {
237
+ internalType: "uint256",
238
+ name: "",
239
+ type: "uint256",
240
+ },
241
+ ],
242
+ stateMutability: "payable",
243
+ type: "function",
244
+ },
245
+ {
246
+ inputs: [
247
+ {
248
+ internalType: "uint256",
249
+ name: "index",
250
+ type: "uint256",
251
+ },
252
+ {
253
+ internalType: "bytes",
254
+ name: "data",
255
+ type: "bytes",
256
+ },
257
+ {
258
+ internalType: "uint256",
259
+ name: "previousAmountOut",
260
+ type: "uint256",
261
+ },
262
+ ],
263
+ name: "executeSynthetixSwap",
264
+ outputs: [
265
+ {
266
+ internalType: "uint256",
267
+ name: "",
268
+ type: "uint256",
269
+ },
270
+ ],
271
+ stateMutability: "payable",
272
+ type: "function",
273
+ },
274
+ {
275
+ inputs: [
276
+ {
277
+ internalType: "uint256",
278
+ name: "index",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ internalType: "bytes",
283
+ name: "data",
284
+ type: "bytes",
285
+ },
286
+ {
287
+ internalType: "uint256",
288
+ name: "previousAmountOut",
289
+ type: "uint256",
290
+ },
291
+ ],
292
+ name: "executeUniSwap",
293
+ outputs: [
294
+ {
295
+ internalType: "uint256",
296
+ name: "",
297
+ type: "uint256",
298
+ },
299
+ ],
300
+ stateMutability: "payable",
301
+ type: "function",
302
+ },
303
+ {
304
+ inputs: [
305
+ {
306
+ internalType: "uint256",
307
+ name: "index",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ internalType: "bytes",
312
+ name: "data",
313
+ type: "bytes",
314
+ },
315
+ {
316
+ internalType: "uint256",
317
+ name: "previousAmountOut",
318
+ type: "uint256",
319
+ },
320
+ ],
321
+ name: "executeUniV3ProMMSwap",
322
+ outputs: [
323
+ {
324
+ internalType: "uint256",
325
+ name: "",
326
+ type: "uint256",
327
+ },
328
+ ],
329
+ stateMutability: "payable",
330
+ type: "function",
331
+ },
332
+ {
333
+ inputs: [
334
+ {
335
+ internalType: "uint256",
336
+ name: "index",
337
+ type: "uint256",
338
+ },
339
+ {
340
+ internalType: "bytes",
341
+ name: "data",
342
+ type: "bytes",
343
+ },
344
+ {
345
+ internalType: "uint256",
346
+ name: "previousAmountOut",
347
+ type: "uint256",
348
+ },
349
+ ],
350
+ name: "executeWrappedstETHSwap",
351
+ outputs: [
352
+ {
353
+ internalType: "uint256",
354
+ name: "",
355
+ type: "uint256",
356
+ },
357
+ ],
358
+ stateMutability: "payable",
359
+ type: "function",
360
+ },
361
+ ];
362
+
363
+ export class IExecutorHelperEthereum1__factory {
364
+ static readonly abi = _abi;
365
+ static createInterface(): IExecutorHelperEthereum1Interface {
366
+ return new utils.Interface(_abi) as IExecutorHelperEthereum1Interface;
367
+ }
368
+ static connect(
369
+ address: string,
370
+ signerOrProvider: Signer | Provider
371
+ ): IExecutorHelperEthereum1 {
372
+ return new Contract(
373
+ address,
374
+ _abi,
375
+ signerOrProvider
376
+ ) as IExecutorHelperEthereum1;
377
+ }
378
+ }