@pendle/core-v2 5.8.3-factory → 5.8.3

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 (156) 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/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  17. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  18. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  19. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  20. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +21 -2
  21. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  22. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  23. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  24. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  25. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  26. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  27. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  28. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  29. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  30. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  31. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  32. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  33. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  34. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  35. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  37. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  38. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  39. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  40. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  41. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  42. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  43. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  44. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  45. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  46. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  47. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  48. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  49. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  50. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  52. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  54. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  55. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  56. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  57. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  58. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  59. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  60. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  61. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  62. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  63. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  64. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  65. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  66. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  67. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  68. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  69. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  70. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  71. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  73. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  75. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  76. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +4 -0
  77. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.json +577 -0
  78. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +4 -0
  79. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +10 -0
  80. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  84. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +2 -0
  85. package/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol +1 -5
  86. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -1
  87. package/contracts/router/swap-aggregator/ParaswapScaleHelper.sol +252 -0
  88. package/contracts/router/swap-aggregator/PendleSwap.sol +4 -4
  89. package/deployments/1-core.json +2 -2
  90. package/deployments/10-core.json +2 -2
  91. package/deployments/146-core.json +8 -9
  92. package/deployments/42161-core.json +2 -2
  93. package/deployments/5000-core.json +2 -2
  94. package/deployments/56-core.json +2 -2
  95. package/deployments/80094-core.json +2 -2
  96. package/deployments/8453-core.json +2 -2
  97. package/package.json +1 -1
  98. package/typechain-types/PendleCommonSYFactory.ts +31 -0
  99. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  100. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  101. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  102. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  103. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  104. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  105. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  106. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  107. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  108. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  109. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  110. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  111. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  112. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +20 -1
  113. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  114. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  115. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  116. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  117. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  118. package/typechain-types/factories/Reflector__factory.ts +1 -1
  119. package/build/artifacts/contracts/interfaces/IPMarketSwapNSeed.sol/IPMarketSwapNSeed.dbg.json +0 -4
  120. package/build/artifacts/contracts/interfaces/IPMarketSwapNSeed.sol/IPMarketSwapNSeed.json +0 -10
  121. package/build/artifacts/contracts/offchain-helpers/SwapNSeed.sol/MarketSwapNSeed.dbg.json +0 -4
  122. package/build/artifacts/contracts/offchain-helpers/SwapNSeed.sol/MarketSwapNSeed.json +0 -232
  123. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchAggregationRouterV6.dbg.json +0 -4
  124. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchAggregationRouterV6.json +0 -214
  125. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchCommonType.dbg.json +0 -4
  126. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchCommonType.json +0 -10
  127. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/OneInchScaleHelper.dbg.json +0 -4
  128. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/OneInchScaleHelper.json +0 -10
  129. package/contracts/interfaces/IPMarketSwapNSeed.sol +0 -10
  130. package/contracts/offchain-helpers/SwapNSeed.sol +0 -221
  131. package/contracts/router/swap-aggregator/OneInchScaleHelper.sol +0 -120
  132. package/deployments/merkle-distribution/2023-04-27.json +0 -3342
  133. package/deployments/merkle-distribution/2023-05-25.json +0 -3749
  134. package/deployments/merkle-distribution/2023-06-29.json +0 -4729
  135. package/deployments/merkle-distribution/2023-07-27.json +0 -5525
  136. package/deployments/merkle-distribution/2023-08-31.json +0 -6135
  137. package/deployments/merkle-distribution/2023-09-28.json +0 -6770
  138. package/deployments/merkle-distribution/2023-10-26.json +0 -7300
  139. package/deployments/merkle-distribution/2023-11-30.json +0 -7730
  140. package/deployments/merkle-distribution/2023-12-28.json +0 -8225
  141. package/deployments/merkle-distribution/2024-01-25.json +0 -9615
  142. package/deployments/merkle-distribution/2024-02-29.json +0 -12125
  143. package/deployments/merkle-distribution/2024-03-28.json +0 -12725
  144. package/deployments/merkle-distribution/2024-04-25.json +0 -14930
  145. package/deployments/merkle-distribution/2024-05-30.json +0 -17255
  146. package/deployments/merkle-distribution/2024-06-27.json +0 -18995
  147. package/deployments/merkle-distribution/2024-07-25.json +0 -20365
  148. package/deployments/merkle-distribution/2024-08-29.json +0 -21525
  149. package/deployments/merkle-distribution/2024-09-26-retroactive.json +0 -21525
  150. package/deployments/merkle-distribution/2024-09-26.json +0 -22340
  151. package/deployments/merkle-distribution/2024-10-31.json +0 -23370
  152. package/deployments/merkle-distribution/2024-11-28.json +0 -24040
  153. package/deployments/merkle-distribution/2024-12-26.json +0 -25555
  154. package/deployments/merkle-distribution/2024-12-31-snapshot.json +0 -65767
  155. package/deployments/merkle-distribution/2025-01-30.json +0 -28060
  156. package/deployments/merkle-distribution/2025-02-27.json +0 -29930
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtOutLibOnchain",
4
4
  "sourceName": "contracts/router/math/MarketApproxLibOnchain.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b01d830ebc55a8101440a48133846bc45b73a5760f470f9d9e71a9bcbb9da5ca64736f6c63430008170033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b01d830ebc55a8101440a48133846bc45b73a5760f470f9d9e71a9bcbb9da5ca64736f6c63430008170033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b1b14224be6db3e370243afd98805e908889506125b49533ac2d47fa793ac8da64736f6c63430008170033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220b1b14224be6db3e370243afd98805e908889506125b49533ac2d47fa793ac8da64736f6c63430008170033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/75c26a7c1d201beeaf66ee24bd0af65c.json"
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtInLibV2",
4
4
  "sourceName": "contracts/router/math/MarketApproxLibV2.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200745ab83bec35c6cb543bd00729e05a3d8d559995343acab0afc082338b1eef464736f6c63430008170033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200745ab83bec35c6cb543bd00729e05a3d8d559995343acab0afc082338b1eef464736f6c63430008170033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220170f918a408e0aa9d6b282fb789bf945eec03e31b972e23de6d7e56a2c24b89d64736f6c63430008170033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220170f918a408e0aa9d6b282fb789bf945eec03e31b972e23de6d7e56a2c24b89d64736f6c63430008170033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/75c26a7c1d201beeaf66ee24bd0af65c.json"
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtOutLibV2",
4
4
  "sourceName": "contracts/router/math/MarketApproxLibV2.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cab98746dcd717d1857c86a735c91e23176716c3fac175ac2c8a5e4806d36b0e64736f6c63430008170033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cab98746dcd717d1857c86a735c91e23176716c3fac175ac2c8a5e4806d36b0e64736f6c63430008170033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a12379d3292b3d30cd5be72f49106238386a45ebfd63b7a5ec43c5393cb4859d64736f6c63430008170033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a12379d3292b3d30cd5be72f49106238386a45ebfd63b7a5ec43c5393cb4859d64736f6c63430008170033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/75c26a7c1d201beeaf66ee24bd0af65c.json"
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/75c26a7c1d201beeaf66ee24bd0af65c.json"
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/75c26a7c1d201beeaf66ee24bd0af65c.json"
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
+ }
@@ -0,0 +1,577 @@
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
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
+ }
@@ -0,0 +1,10 @@
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
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/75c26a7c1d201beeaf66ee24bd0af65c.json"
3
+ "buildInfo": "../../../../build-info/4d25414379cd41283922452ea5c868ed.json"
4
4
  }