@pendle/core-v2 5.8.2 → 5.8.3-factory

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 (173) hide show
  1. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  3. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  9. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  13. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +34 -0
  18. package/build/artifacts/contracts/interfaces/IPMarketSwapNSeed.sol/IPMarketSwapNSeed.dbg.json +4 -0
  19. package/build/artifacts/contracts/interfaces/IPMarketSwapNSeed.sol/IPMarketSwapNSeed.json +10 -0
  20. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  21. package/build/artifacts/contracts/offchain-helpers/SwapNSeed.sol/MarketSwapNSeed.dbg.json +4 -0
  22. package/build/artifacts/contracts/offchain-helpers/SwapNSeed.sol/MarketSwapNSeed.json +232 -0
  23. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  24. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +320 -2
  25. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  26. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +56 -3
  27. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  28. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  29. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  30. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  31. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  32. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  33. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  34. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  35. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  37. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  38. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  39. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  40. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  41. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  42. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  43. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  45. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  46. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  47. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  48. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  49. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  52. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  54. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  55. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  56. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  57. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  58. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  59. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  60. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  62. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  63. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  64. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  65. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  66. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  67. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  68. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  69. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  70. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  71. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  73. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  75. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  76. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  77. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  78. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  79. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  80. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchAggregationRouterV6.dbg.json +4 -0
  83. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchAggregationRouterV6.json +214 -0
  84. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchCommonType.dbg.json +4 -0
  85. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchCommonType.json +10 -0
  86. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/OneInchScaleHelper.dbg.json +4 -0
  87. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/OneInchScaleHelper.json +10 -0
  88. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  92. package/contracts/interfaces/IPCommonSYFactory.sol +7 -0
  93. package/contracts/interfaces/IPMarketSwapNSeed.sol +10 -0
  94. package/contracts/offchain-helpers/SwapNSeed.sol +221 -0
  95. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +55 -0
  96. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +34 -1
  97. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +5 -1
  98. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -1
  99. package/contracts/router/swap-aggregator/OneInchScaleHelper.sol +120 -0
  100. package/contracts/router/swap-aggregator/PendleSwap.sol +4 -4
  101. package/deployments/1-core.json +2 -2
  102. package/deployments/10-core.json +2 -2
  103. package/deployments/146-core.json +9 -8
  104. package/deployments/42161-core.json +2 -2
  105. package/deployments/5000-core.json +2 -2
  106. package/deployments/56-core.json +2 -2
  107. package/deployments/80094-core.json +2 -2
  108. package/deployments/8453-core.json +2 -2
  109. package/deployments/merkle-distribution/2023-04-27.json +3342 -0
  110. package/deployments/merkle-distribution/2023-05-25.json +3749 -0
  111. package/deployments/merkle-distribution/2023-06-29.json +4729 -0
  112. package/deployments/merkle-distribution/2023-07-27.json +5525 -0
  113. package/deployments/merkle-distribution/2023-08-31.json +6135 -0
  114. package/deployments/merkle-distribution/2023-09-28.json +6770 -0
  115. package/deployments/merkle-distribution/2023-10-26.json +7300 -0
  116. package/deployments/merkle-distribution/2023-11-30.json +7730 -0
  117. package/deployments/merkle-distribution/2023-12-28.json +8225 -0
  118. package/deployments/merkle-distribution/2024-01-25.json +9615 -0
  119. package/deployments/merkle-distribution/2024-02-29.json +12125 -0
  120. package/deployments/merkle-distribution/2024-03-28.json +12725 -0
  121. package/deployments/merkle-distribution/2024-04-25.json +14930 -0
  122. package/deployments/merkle-distribution/2024-05-30.json +17255 -0
  123. package/deployments/merkle-distribution/2024-06-27.json +18995 -0
  124. package/deployments/merkle-distribution/2024-07-25.json +20365 -0
  125. package/deployments/merkle-distribution/2024-08-29.json +21525 -0
  126. package/deployments/merkle-distribution/2024-09-26-retroactive.json +21525 -0
  127. package/deployments/merkle-distribution/2024-09-26.json +22340 -0
  128. package/deployments/merkle-distribution/2024-10-31.json +23370 -0
  129. package/deployments/merkle-distribution/2024-11-28.json +24040 -0
  130. package/deployments/merkle-distribution/2024-12-26.json +25555 -0
  131. package/deployments/merkle-distribution/2024-12-31-snapshot.json +65767 -0
  132. package/deployments/merkle-distribution/2025-01-30.json +28060 -0
  133. package/deployments/merkle-distribution/2025-02-27.json +29930 -0
  134. package/package.json +1 -1
  135. package/typechain-types/ERC1967Proxy.ts +97 -0
  136. package/typechain-types/IPCommonSYFactory.ts +49 -0
  137. package/typechain-types/ITransparentUpgradeableProxy.ts +235 -0
  138. package/typechain-types/MarketSwapNSeed.ts +222 -0
  139. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +267 -0
  140. package/typechain-types/PendleCommonSYFactory.ts +65 -0
  141. package/typechain-types/TransparentUpgradeableProxy.ts +97 -0
  142. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  143. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  144. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  145. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  146. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  147. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  148. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  149. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  150. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  151. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  152. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  153. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  154. package/typechain-types/factories/ERC1967Proxy__factory.ts +145 -0
  155. package/typechain-types/factories/IPCommonSYFactory__factory.ts +34 -0
  156. package/typechain-types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  157. package/typechain-types/factories/MarketSwapNSeed__factory.ts +287 -0
  158. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +319 -1
  159. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +62 -4
  160. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  161. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  162. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  163. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  164. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  165. package/typechain-types/factories/Reflector__factory.ts +1 -1
  166. package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +160 -0
  167. package/typechain-types/hardhat.d.ts +45 -0
  168. package/typechain-types/index.ts +10 -0
  169. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +0 -4
  170. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.json +0 -577
  171. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +0 -4
  172. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +0 -10
  173. package/contracts/router/swap-aggregator/ParaswapScaleHelper.sol +0 -252
@@ -17,8 +17,11 @@ export type { IERC1271 } from "./IERC1271";
17
17
  export type { IERC1967 } from "./IERC1967";
18
18
  export type { IERC5267 } from "./IERC5267";
19
19
  export type { IBeacon } from "./IBeacon";
20
+ export type { ERC1967Proxy } from "./ERC1967Proxy";
20
21
  export type { ERC1967Upgrade } from "./ERC1967Upgrade";
21
22
  export type { Proxy } from "./Proxy";
23
+ export type { ITransparentUpgradeableProxy } from "./ITransparentUpgradeableProxy";
24
+ export type { TransparentUpgradeableProxy } from "./TransparentUpgradeableProxy";
22
25
  export type { UUPSUpgradeable } from "./UUPSUpgradeable";
23
26
  export type { ERC20 } from "./ERC20";
24
27
  export type { ERC20Permit } from "./ERC20Permit";
@@ -170,6 +173,7 @@ export type { PendleRouterStatic } from "./PendleRouterStatic";
170
173
  export type { SimulateHelper } from "./SimulateHelper";
171
174
  export type { IPossibleSupplyCapInterface } from "./IPossibleSupplyCapInterface";
172
175
  export type { SupplyCapReader } from "./SupplyCapReader";
176
+ export type { MarketSwapNSeed } from "./MarketSwapNSeed";
173
177
  export type { PendleBoringOneracle } from "./PendleBoringOneracle";
174
178
  export type { PendleBoringSolvBTCOneracle } from "./PendleBoringSolvBTCOneracle";
175
179
  export type { PendleRedStoneRateOracleAdapter } from "./PendleRedStoneRateOracleAdapter";
@@ -193,6 +197,7 @@ export type { PendleRouterV4 } from "./PendleRouterV4";
193
197
  export type { Reflector } from "./Reflector";
194
198
  export type { IPSwapAggregator } from "./IPSwapAggregator";
195
199
  export type { IOKXDexRouter } from "./IOKXDexRouter";
200
+ export type { I1inchAggregationRouterV6 } from "./I1inchAggregationRouterV6";
196
201
  export type { IAugustusV6 } from "./IAugustusV6";
197
202
  export type { IKyberScalingHelper } from "./IKyberScalingHelper";
198
203
  export type { IOdosRouterV2 } from "./IOdosRouterV2";
@@ -214,8 +219,11 @@ export { IERC1271__factory } from "./factories/IERC1271__factory";
214
219
  export { IERC1967__factory } from "./factories/IERC1967__factory";
215
220
  export { IERC5267__factory } from "./factories/IERC5267__factory";
216
221
  export { IBeacon__factory } from "./factories/IBeacon__factory";
222
+ export { ERC1967Proxy__factory } from "./factories/ERC1967Proxy__factory";
217
223
  export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
218
224
  export { Proxy__factory } from "./factories/Proxy__factory";
225
+ export { ITransparentUpgradeableProxy__factory } from "./factories/ITransparentUpgradeableProxy__factory";
226
+ export { TransparentUpgradeableProxy__factory } from "./factories/TransparentUpgradeableProxy__factory";
219
227
  export { UUPSUpgradeable__factory } from "./factories/UUPSUpgradeable__factory";
220
228
  export { ERC20__factory } from "./factories/ERC20__factory";
221
229
  export { ERC20Permit__factory } from "./factories/ERC20Permit__factory";
@@ -367,6 +375,7 @@ export { PendleRouterStatic__factory } from "./factories/PendleRouterStatic__fac
367
375
  export { SimulateHelper__factory } from "./factories/SimulateHelper__factory";
368
376
  export { IPossibleSupplyCapInterface__factory } from "./factories/IPossibleSupplyCapInterface__factory";
369
377
  export { SupplyCapReader__factory } from "./factories/SupplyCapReader__factory";
378
+ export { MarketSwapNSeed__factory } from "./factories/MarketSwapNSeed__factory";
370
379
  export { PendleBoringOneracle__factory } from "./factories/PendleBoringOneracle__factory";
371
380
  export { PendleBoringSolvBTCOneracle__factory } from "./factories/PendleBoringSolvBTCOneracle__factory";
372
381
  export { PendleRedStoneRateOracleAdapter__factory } from "./factories/PendleRedStoneRateOracleAdapter__factory";
@@ -390,6 +399,7 @@ export { PendleRouterV4__factory } from "./factories/PendleRouterV4__factory";
390
399
  export { Reflector__factory } from "./factories/Reflector__factory";
391
400
  export { IPSwapAggregator__factory } from "./factories/IPSwapAggregator__factory";
392
401
  export { IOKXDexRouter__factory } from "./factories/IOKXDexRouter__factory";
402
+ export { I1inchAggregationRouterV6__factory } from "./factories/I1inchAggregationRouterV6__factory";
393
403
  export { IAugustusV6__factory } from "./factories/IAugustusV6__factory";
394
404
  export { IKyberScalingHelper__factory } from "./factories/IKyberScalingHelper__factory";
395
405
  export { IOdosRouterV2__factory } from "./factories/IOdosRouterV2__factory";
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/dcbabd457397536f0d024e14cbca864f.json"
4
- }
@@ -1,577 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "IAugustusV6",
4
- "sourceName": "contracts/router/swap-aggregator/ParaswapScaleHelper.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "executor",
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": "destToken",
23
- "type": "address"
24
- },
25
- {
26
- "internalType": "uint256",
27
- "name": "fromAmount",
28
- "type": "uint256"
29
- },
30
- {
31
- "internalType": "uint256",
32
- "name": "toAmount",
33
- "type": "uint256"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "quotedAmount",
38
- "type": "uint256"
39
- },
40
- {
41
- "internalType": "bytes32",
42
- "name": "metadata",
43
- "type": "bytes32"
44
- },
45
- {
46
- "internalType": "address payable",
47
- "name": "beneficiary",
48
- "type": "address"
49
- }
50
- ],
51
- "internalType": "struct IAugustusV6.GenericData",
52
- "name": "swapData",
53
- "type": "tuple"
54
- },
55
- {
56
- "internalType": "uint256",
57
- "name": "partnerAndFee",
58
- "type": "uint256"
59
- },
60
- {
61
- "internalType": "bytes",
62
- "name": "permit",
63
- "type": "bytes"
64
- },
65
- {
66
- "internalType": "bytes",
67
- "name": "executorData",
68
- "type": "bytes"
69
- }
70
- ],
71
- "name": "swapExactAmountIn",
72
- "outputs": [],
73
- "stateMutability": "payable",
74
- "type": "function"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "components": [
80
- {
81
- "internalType": "uint256",
82
- "name": "fromAmount",
83
- "type": "uint256"
84
- },
85
- {
86
- "internalType": "uint256",
87
- "name": "toAmount",
88
- "type": "uint256"
89
- },
90
- {
91
- "internalType": "uint256",
92
- "name": "quotedAmount",
93
- "type": "uint256"
94
- },
95
- {
96
- "internalType": "bytes32",
97
- "name": "metadata",
98
- "type": "bytes32"
99
- },
100
- {
101
- "internalType": "uint256",
102
- "name": "beneficiaryAndApproveFlag",
103
- "type": "uint256"
104
- }
105
- ],
106
- "internalType": "struct IAugustusV6.BalancerV2Data",
107
- "name": "balancerData",
108
- "type": "tuple"
109
- },
110
- {
111
- "internalType": "uint256",
112
- "name": "partnerAndFee",
113
- "type": "uint256"
114
- },
115
- {
116
- "internalType": "bytes",
117
- "name": "permit",
118
- "type": "bytes"
119
- },
120
- {
121
- "internalType": "bytes",
122
- "name": "data",
123
- "type": "bytes"
124
- }
125
- ],
126
- "name": "swapExactAmountInOnBalancerV2",
127
- "outputs": [
128
- {
129
- "internalType": "uint256",
130
- "name": "receivedAmount",
131
- "type": "uint256"
132
- },
133
- {
134
- "internalType": "uint256",
135
- "name": "paraswapShare",
136
- "type": "uint256"
137
- },
138
- {
139
- "internalType": "uint256",
140
- "name": "partnerShare",
141
- "type": "uint256"
142
- }
143
- ],
144
- "stateMutability": "payable",
145
- "type": "function"
146
- },
147
- {
148
- "inputs": [
149
- {
150
- "components": [
151
- {
152
- "internalType": "uint256",
153
- "name": "curveData",
154
- "type": "uint256"
155
- },
156
- {
157
- "internalType": "uint256",
158
- "name": "curveAssets",
159
- "type": "uint256"
160
- },
161
- {
162
- "internalType": "contract IERC20",
163
- "name": "srcToken",
164
- "type": "address"
165
- },
166
- {
167
- "internalType": "contract IERC20",
168
- "name": "destToken",
169
- "type": "address"
170
- },
171
- {
172
- "internalType": "uint256",
173
- "name": "fromAmount",
174
- "type": "uint256"
175
- },
176
- {
177
- "internalType": "uint256",
178
- "name": "toAmount",
179
- "type": "uint256"
180
- },
181
- {
182
- "internalType": "uint256",
183
- "name": "quotedAmount",
184
- "type": "uint256"
185
- },
186
- {
187
- "internalType": "bytes32",
188
- "name": "metadata",
189
- "type": "bytes32"
190
- },
191
- {
192
- "internalType": "address payable",
193
- "name": "beneficiary",
194
- "type": "address"
195
- }
196
- ],
197
- "internalType": "struct IAugustusV6.CurveV1Data",
198
- "name": "curveV1Data",
199
- "type": "tuple"
200
- },
201
- {
202
- "internalType": "uint256",
203
- "name": "partnerAndFee",
204
- "type": "uint256"
205
- },
206
- {
207
- "internalType": "bytes",
208
- "name": "permit",
209
- "type": "bytes"
210
- }
211
- ],
212
- "name": "swapExactAmountInOnCurveV1",
213
- "outputs": [
214
- {
215
- "internalType": "uint256",
216
- "name": "receivedAmount",
217
- "type": "uint256"
218
- },
219
- {
220
- "internalType": "uint256",
221
- "name": "paraswapShare",
222
- "type": "uint256"
223
- },
224
- {
225
- "internalType": "uint256",
226
- "name": "partnerShare",
227
- "type": "uint256"
228
- }
229
- ],
230
- "stateMutability": "payable",
231
- "type": "function"
232
- },
233
- {
234
- "inputs": [
235
- {
236
- "components": [
237
- {
238
- "internalType": "uint256",
239
- "name": "curveData",
240
- "type": "uint256"
241
- },
242
- {
243
- "internalType": "uint256",
244
- "name": "i",
245
- "type": "uint256"
246
- },
247
- {
248
- "internalType": "uint256",
249
- "name": "j",
250
- "type": "uint256"
251
- },
252
- {
253
- "internalType": "address",
254
- "name": "poolAddress",
255
- "type": "address"
256
- },
257
- {
258
- "internalType": "contract IERC20",
259
- "name": "srcToken",
260
- "type": "address"
261
- },
262
- {
263
- "internalType": "contract IERC20",
264
- "name": "destToken",
265
- "type": "address"
266
- },
267
- {
268
- "internalType": "uint256",
269
- "name": "fromAmount",
270
- "type": "uint256"
271
- },
272
- {
273
- "internalType": "uint256",
274
- "name": "toAmount",
275
- "type": "uint256"
276
- },
277
- {
278
- "internalType": "uint256",
279
- "name": "quotedAmount",
280
- "type": "uint256"
281
- },
282
- {
283
- "internalType": "bytes32",
284
- "name": "metadata",
285
- "type": "bytes32"
286
- },
287
- {
288
- "internalType": "address payable",
289
- "name": "beneficiary",
290
- "type": "address"
291
- }
292
- ],
293
- "internalType": "struct IAugustusV6.CurveV2Data",
294
- "name": "curveV2Data",
295
- "type": "tuple"
296
- },
297
- {
298
- "internalType": "uint256",
299
- "name": "partnerAndFee",
300
- "type": "uint256"
301
- },
302
- {
303
- "internalType": "bytes",
304
- "name": "permit",
305
- "type": "bytes"
306
- }
307
- ],
308
- "name": "swapExactAmountInOnCurveV2",
309
- "outputs": [
310
- {
311
- "internalType": "uint256",
312
- "name": "receivedAmount",
313
- "type": "uint256"
314
- },
315
- {
316
- "internalType": "uint256",
317
- "name": "paraswapShare",
318
- "type": "uint256"
319
- },
320
- {
321
- "internalType": "uint256",
322
- "name": "partnerShare",
323
- "type": "uint256"
324
- }
325
- ],
326
- "stateMutability": "payable",
327
- "type": "function"
328
- },
329
- {
330
- "inputs": [
331
- {
332
- "components": [
333
- {
334
- "internalType": "contract IERC20",
335
- "name": "srcToken",
336
- "type": "address"
337
- },
338
- {
339
- "internalType": "contract IERC20",
340
- "name": "destToken",
341
- "type": "address"
342
- },
343
- {
344
- "internalType": "uint256",
345
- "name": "fromAmount",
346
- "type": "uint256"
347
- },
348
- {
349
- "internalType": "uint256",
350
- "name": "toAmount",
351
- "type": "uint256"
352
- },
353
- {
354
- "internalType": "uint256",
355
- "name": "quotedAmount",
356
- "type": "uint256"
357
- },
358
- {
359
- "internalType": "bytes32",
360
- "name": "metadata",
361
- "type": "bytes32"
362
- },
363
- {
364
- "internalType": "address payable",
365
- "name": "beneficiary",
366
- "type": "address"
367
- },
368
- {
369
- "internalType": "bytes",
370
- "name": "pools",
371
- "type": "bytes"
372
- }
373
- ],
374
- "internalType": "struct IAugustusV6.UniswapV2Data",
375
- "name": "uniData",
376
- "type": "tuple"
377
- },
378
- {
379
- "internalType": "uint256",
380
- "name": "partnerAndFee",
381
- "type": "uint256"
382
- },
383
- {
384
- "internalType": "bytes",
385
- "name": "permit",
386
- "type": "bytes"
387
- }
388
- ],
389
- "name": "swapExactAmountInOnUniswapV2",
390
- "outputs": [
391
- {
392
- "internalType": "uint256",
393
- "name": "receivedAmount",
394
- "type": "uint256"
395
- },
396
- {
397
- "internalType": "uint256",
398
- "name": "paraswapShare",
399
- "type": "uint256"
400
- },
401
- {
402
- "internalType": "uint256",
403
- "name": "partnerShare",
404
- "type": "uint256"
405
- }
406
- ],
407
- "stateMutability": "payable",
408
- "type": "function"
409
- },
410
- {
411
- "inputs": [
412
- {
413
- "components": [
414
- {
415
- "internalType": "contract IERC20",
416
- "name": "srcToken",
417
- "type": "address"
418
- },
419
- {
420
- "internalType": "contract IERC20",
421
- "name": "destToken",
422
- "type": "address"
423
- },
424
- {
425
- "internalType": "uint256",
426
- "name": "fromAmount",
427
- "type": "uint256"
428
- },
429
- {
430
- "internalType": "uint256",
431
- "name": "toAmount",
432
- "type": "uint256"
433
- },
434
- {
435
- "internalType": "uint256",
436
- "name": "quotedAmount",
437
- "type": "uint256"
438
- },
439
- {
440
- "internalType": "bytes32",
441
- "name": "metadata",
442
- "type": "bytes32"
443
- },
444
- {
445
- "internalType": "address payable",
446
- "name": "beneficiary",
447
- "type": "address"
448
- },
449
- {
450
- "internalType": "bytes",
451
- "name": "pools",
452
- "type": "bytes"
453
- }
454
- ],
455
- "internalType": "struct IAugustusV6.UniswapV3Data",
456
- "name": "uniData",
457
- "type": "tuple"
458
- },
459
- {
460
- "internalType": "uint256",
461
- "name": "partnerAndFee",
462
- "type": "uint256"
463
- },
464
- {
465
- "internalType": "bytes",
466
- "name": "permit",
467
- "type": "bytes"
468
- }
469
- ],
470
- "name": "swapExactAmountInOnUniswapV3",
471
- "outputs": [
472
- {
473
- "internalType": "uint256",
474
- "name": "receivedAmount",
475
- "type": "uint256"
476
- },
477
- {
478
- "internalType": "uint256",
479
- "name": "paraswapShare",
480
- "type": "uint256"
481
- },
482
- {
483
- "internalType": "uint256",
484
- "name": "partnerShare",
485
- "type": "uint256"
486
- }
487
- ],
488
- "stateMutability": "payable",
489
- "type": "function"
490
- },
491
- {
492
- "inputs": [
493
- {
494
- "components": [
495
- {
496
- "internalType": "contract IERC20",
497
- "name": "srcToken",
498
- "type": "address"
499
- },
500
- {
501
- "internalType": "contract IERC20",
502
- "name": "destToken",
503
- "type": "address"
504
- },
505
- {
506
- "internalType": "uint256",
507
- "name": "fromAmount",
508
- "type": "uint256"
509
- },
510
- {
511
- "internalType": "uint256",
512
- "name": "toAmount",
513
- "type": "uint256"
514
- },
515
- {
516
- "internalType": "uint256",
517
- "name": "toll",
518
- "type": "uint256"
519
- },
520
- {
521
- "internalType": "uint256",
522
- "name": "to18ConversionFactor",
523
- "type": "uint256"
524
- },
525
- {
526
- "internalType": "address",
527
- "name": "exchange",
528
- "type": "address"
529
- },
530
- {
531
- "internalType": "address",
532
- "name": "gemJoinAddress",
533
- "type": "address"
534
- },
535
- {
536
- "internalType": "bytes32",
537
- "name": "metadata",
538
- "type": "bytes32"
539
- },
540
- {
541
- "internalType": "uint256",
542
- "name": "beneficiaryDirectionApproveFlag",
543
- "type": "uint256"
544
- }
545
- ],
546
- "internalType": "struct IAugustusV6.MakerPSMData",
547
- "name": "makerPSMData",
548
- "type": "tuple"
549
- },
550
- {
551
- "internalType": "bytes",
552
- "name": "permit",
553
- "type": "bytes"
554
- }
555
- ],
556
- "name": "swapExactAmountInOutOnMakerPSM",
557
- "outputs": [
558
- {
559
- "internalType": "uint256",
560
- "name": "spentAmount",
561
- "type": "uint256"
562
- },
563
- {
564
- "internalType": "uint256",
565
- "name": "receivedAmount",
566
- "type": "uint256"
567
- }
568
- ],
569
- "stateMutability": "nonpayable",
570
- "type": "function"
571
- }
572
- ],
573
- "bytecode": "0x",
574
- "deployedBytecode": "0x",
575
- "linkReferences": {},
576
- "deployedLinkReferences": {}
577
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/dcbabd457397536f0d024e14cbca864f.json"
4
- }
@@ -1,10 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "ParaswapScaleHelper",
4
- "sourceName": "contracts/router/swap-aggregator/ParaswapScaleHelper.sol",
5
- "abi": [],
6
- "bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea264697066735822122031f0efa6da3429d501c23e235fa22c4245f767c07d14672ca8f83c8918d0d05f64736f6c63430008170033",
7
- "deployedBytecode": "0x6080604052600080fdfea264697066735822122031f0efa6da3429d501c23e235fa22c4245f767c07d14672ca8f83c8918d0d05f64736f6c63430008170033",
8
- "linkReferences": {},
9
- "deployedLinkReferences": {}
10
- }