@pendle/core-v2 5.8.1 → 5.8.2-paraswap-2

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 (128) 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/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  20. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  21. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  22. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  23. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  24. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  25. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  26. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  27. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  28. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  29. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  30. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  31. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  32. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  33. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  34. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  35. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  37. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  38. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  39. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  40. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  41. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  42. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  43. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +3 -28
  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 +607 -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/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +3 -8
  85. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -1
  86. package/contracts/router/swap-aggregator/ParaswapScaleHelper.sol +247 -0
  87. package/contracts/router/swap-aggregator/PendleSwap.sol +4 -4
  88. package/deployments/1-core.json +3 -3
  89. package/deployments/10-core.json +2 -2
  90. package/deployments/146-core.json +2 -2
  91. package/deployments/42161-core.json +3 -3
  92. package/deployments/5000-core.json +2 -2
  93. package/deployments/56-core.json +2 -2
  94. package/deployments/80094-core.json +2 -2
  95. package/deployments/8453-core.json +2 -2
  96. package/package.json +1 -1
  97. package/typechain-types/IAugustusV6.ts +692 -0
  98. package/typechain-types/PendleSparkLinearDiscountOracleFactory.ts +3 -25
  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/IAugustusV6__factory.ts +619 -0
  112. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -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/PendleSparkLinearDiscountOracleFactory__factory.ts +2 -27
  118. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  119. package/typechain-types/factories/Reflector__factory.ts +1 -1
  120. package/typechain-types/hardhat.d.ts +4 -4
  121. package/typechain-types/index.ts +2 -2
  122. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchAggregationRouterV6.dbg.json +0 -4
  123. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchAggregationRouterV6.json +0 -214
  124. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchCommonType.dbg.json +0 -4
  125. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/I1inchCommonType.json +0 -10
  126. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/OneInchScaleHelper.dbg.json +0 -4
  127. package/build/artifacts/contracts/router/swap-aggregator/OneInchScaleHelper.sol/OneInchScaleHelper.json +0 -10
  128. package/contracts/router/swap-aggregator/OneInchScaleHelper.sol +0 -120
@@ -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/bb711ef75e7b3f7b7a7f04824b4e8fd8.json"
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.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/bb711ef75e7b3f7b7a7f04824b4e8fd8.json"
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.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/bb711ef75e7b3f7b7a7f04824b4e8fd8.json"
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/bb711ef75e7b3f7b7a7f04824b4e8fd8.json"
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/bb711ef75e7b3f7b7a7f04824b4e8fd8.json"
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.json"
4
+ }
@@ -0,0 +1,607 @@
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
+ "internalType": "address",
80
+ "name": "executor",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "components": [
85
+ {
86
+ "internalType": "uint256",
87
+ "name": "fromAmount",
88
+ "type": "uint256"
89
+ },
90
+ {
91
+ "internalType": "uint256",
92
+ "name": "toAmount",
93
+ "type": "uint256"
94
+ },
95
+ {
96
+ "internalType": "uint256",
97
+ "name": "quotedAmount",
98
+ "type": "uint256"
99
+ },
100
+ {
101
+ "internalType": "bytes32",
102
+ "name": "metadata",
103
+ "type": "bytes32"
104
+ },
105
+ {
106
+ "internalType": "uint256",
107
+ "name": "beneficiaryAndApproveFlag",
108
+ "type": "uint256"
109
+ }
110
+ ],
111
+ "internalType": "struct IAugustusV6.BalancerV2Data",
112
+ "name": "balancerData",
113
+ "type": "tuple"
114
+ },
115
+ {
116
+ "internalType": "uint256",
117
+ "name": "partnerAndFee",
118
+ "type": "uint256"
119
+ },
120
+ {
121
+ "internalType": "bytes",
122
+ "name": "permit",
123
+ "type": "bytes"
124
+ },
125
+ {
126
+ "internalType": "bytes",
127
+ "name": "data",
128
+ "type": "bytes"
129
+ }
130
+ ],
131
+ "name": "swapExactAmountInOnBalancerV2",
132
+ "outputs": [
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "receivedAmount",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "internalType": "uint256",
140
+ "name": "paraswapShare",
141
+ "type": "uint256"
142
+ },
143
+ {
144
+ "internalType": "uint256",
145
+ "name": "partnerShare",
146
+ "type": "uint256"
147
+ }
148
+ ],
149
+ "stateMutability": "payable",
150
+ "type": "function"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "executor",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "components": [
161
+ {
162
+ "internalType": "uint256",
163
+ "name": "curveData",
164
+ "type": "uint256"
165
+ },
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "curveAssets",
169
+ "type": "uint256"
170
+ },
171
+ {
172
+ "internalType": "contract IERC20",
173
+ "name": "srcToken",
174
+ "type": "address"
175
+ },
176
+ {
177
+ "internalType": "contract IERC20",
178
+ "name": "destToken",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "fromAmount",
184
+ "type": "uint256"
185
+ },
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "toAmount",
189
+ "type": "uint256"
190
+ },
191
+ {
192
+ "internalType": "uint256",
193
+ "name": "quotedAmount",
194
+ "type": "uint256"
195
+ },
196
+ {
197
+ "internalType": "bytes32",
198
+ "name": "metadata",
199
+ "type": "bytes32"
200
+ },
201
+ {
202
+ "internalType": "address payable",
203
+ "name": "beneficiary",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "internalType": "struct IAugustusV6.CurveV1Data",
208
+ "name": "curveV1Data",
209
+ "type": "tuple"
210
+ },
211
+ {
212
+ "internalType": "uint256",
213
+ "name": "partnerAndFee",
214
+ "type": "uint256"
215
+ },
216
+ {
217
+ "internalType": "bytes",
218
+ "name": "permit",
219
+ "type": "bytes"
220
+ }
221
+ ],
222
+ "name": "swapExactAmountInOnCurveV1",
223
+ "outputs": [
224
+ {
225
+ "internalType": "uint256",
226
+ "name": "receivedAmount",
227
+ "type": "uint256"
228
+ },
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "paraswapShare",
232
+ "type": "uint256"
233
+ },
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "partnerShare",
237
+ "type": "uint256"
238
+ }
239
+ ],
240
+ "stateMutability": "payable",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [
245
+ {
246
+ "internalType": "address",
247
+ "name": "executor",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "components": [
252
+ {
253
+ "internalType": "uint256",
254
+ "name": "curveData",
255
+ "type": "uint256"
256
+ },
257
+ {
258
+ "internalType": "uint256",
259
+ "name": "i",
260
+ "type": "uint256"
261
+ },
262
+ {
263
+ "internalType": "uint256",
264
+ "name": "j",
265
+ "type": "uint256"
266
+ },
267
+ {
268
+ "internalType": "address",
269
+ "name": "poolAddress",
270
+ "type": "address"
271
+ },
272
+ {
273
+ "internalType": "contract IERC20",
274
+ "name": "srcToken",
275
+ "type": "address"
276
+ },
277
+ {
278
+ "internalType": "contract IERC20",
279
+ "name": "destToken",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "internalType": "uint256",
284
+ "name": "fromAmount",
285
+ "type": "uint256"
286
+ },
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "toAmount",
290
+ "type": "uint256"
291
+ },
292
+ {
293
+ "internalType": "uint256",
294
+ "name": "quotedAmount",
295
+ "type": "uint256"
296
+ },
297
+ {
298
+ "internalType": "bytes32",
299
+ "name": "metadata",
300
+ "type": "bytes32"
301
+ },
302
+ {
303
+ "internalType": "address payable",
304
+ "name": "beneficiary",
305
+ "type": "address"
306
+ }
307
+ ],
308
+ "internalType": "struct IAugustusV6.CurveV2Data",
309
+ "name": "curveV2Data",
310
+ "type": "tuple"
311
+ },
312
+ {
313
+ "internalType": "uint256",
314
+ "name": "partnerAndFee",
315
+ "type": "uint256"
316
+ },
317
+ {
318
+ "internalType": "bytes",
319
+ "name": "permit",
320
+ "type": "bytes"
321
+ }
322
+ ],
323
+ "name": "swapExactAmountInOnCurveV2",
324
+ "outputs": [
325
+ {
326
+ "internalType": "uint256",
327
+ "name": "receivedAmount",
328
+ "type": "uint256"
329
+ },
330
+ {
331
+ "internalType": "uint256",
332
+ "name": "paraswapShare",
333
+ "type": "uint256"
334
+ },
335
+ {
336
+ "internalType": "uint256",
337
+ "name": "partnerShare",
338
+ "type": "uint256"
339
+ }
340
+ ],
341
+ "stateMutability": "payable",
342
+ "type": "function"
343
+ },
344
+ {
345
+ "inputs": [
346
+ {
347
+ "internalType": "address",
348
+ "name": "executor",
349
+ "type": "address"
350
+ },
351
+ {
352
+ "components": [
353
+ {
354
+ "internalType": "contract IERC20",
355
+ "name": "srcToken",
356
+ "type": "address"
357
+ },
358
+ {
359
+ "internalType": "contract IERC20",
360
+ "name": "destToken",
361
+ "type": "address"
362
+ },
363
+ {
364
+ "internalType": "uint256",
365
+ "name": "fromAmount",
366
+ "type": "uint256"
367
+ },
368
+ {
369
+ "internalType": "uint256",
370
+ "name": "toAmount",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "quotedAmount",
376
+ "type": "uint256"
377
+ },
378
+ {
379
+ "internalType": "bytes32",
380
+ "name": "metadata",
381
+ "type": "bytes32"
382
+ },
383
+ {
384
+ "internalType": "address payable",
385
+ "name": "beneficiary",
386
+ "type": "address"
387
+ },
388
+ {
389
+ "internalType": "bytes",
390
+ "name": "pools",
391
+ "type": "bytes"
392
+ }
393
+ ],
394
+ "internalType": "struct IAugustusV6.UniswapV2Data",
395
+ "name": "uniData",
396
+ "type": "tuple"
397
+ },
398
+ {
399
+ "internalType": "uint256",
400
+ "name": "partnerAndFee",
401
+ "type": "uint256"
402
+ },
403
+ {
404
+ "internalType": "bytes",
405
+ "name": "permit",
406
+ "type": "bytes"
407
+ }
408
+ ],
409
+ "name": "swapExactAmountInOnUniswapV2",
410
+ "outputs": [
411
+ {
412
+ "internalType": "uint256",
413
+ "name": "receivedAmount",
414
+ "type": "uint256"
415
+ },
416
+ {
417
+ "internalType": "uint256",
418
+ "name": "paraswapShare",
419
+ "type": "uint256"
420
+ },
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "partnerShare",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "stateMutability": "payable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "internalType": "address",
434
+ "name": "executor",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "components": [
439
+ {
440
+ "internalType": "contract IERC20",
441
+ "name": "srcToken",
442
+ "type": "address"
443
+ },
444
+ {
445
+ "internalType": "contract IERC20",
446
+ "name": "destToken",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "internalType": "uint256",
451
+ "name": "fromAmount",
452
+ "type": "uint256"
453
+ },
454
+ {
455
+ "internalType": "uint256",
456
+ "name": "toAmount",
457
+ "type": "uint256"
458
+ },
459
+ {
460
+ "internalType": "uint256",
461
+ "name": "quotedAmount",
462
+ "type": "uint256"
463
+ },
464
+ {
465
+ "internalType": "bytes32",
466
+ "name": "metadata",
467
+ "type": "bytes32"
468
+ },
469
+ {
470
+ "internalType": "address payable",
471
+ "name": "beneficiary",
472
+ "type": "address"
473
+ },
474
+ {
475
+ "internalType": "bytes",
476
+ "name": "pools",
477
+ "type": "bytes"
478
+ }
479
+ ],
480
+ "internalType": "struct IAugustusV6.UniswapV3Data",
481
+ "name": "uniData",
482
+ "type": "tuple"
483
+ },
484
+ {
485
+ "internalType": "uint256",
486
+ "name": "partnerAndFee",
487
+ "type": "uint256"
488
+ },
489
+ {
490
+ "internalType": "bytes",
491
+ "name": "permit",
492
+ "type": "bytes"
493
+ }
494
+ ],
495
+ "name": "swapExactAmountInOnUniswapV3",
496
+ "outputs": [
497
+ {
498
+ "internalType": "uint256",
499
+ "name": "receivedAmount",
500
+ "type": "uint256"
501
+ },
502
+ {
503
+ "internalType": "uint256",
504
+ "name": "paraswapShare",
505
+ "type": "uint256"
506
+ },
507
+ {
508
+ "internalType": "uint256",
509
+ "name": "partnerShare",
510
+ "type": "uint256"
511
+ }
512
+ ],
513
+ "stateMutability": "payable",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [
518
+ {
519
+ "internalType": "address",
520
+ "name": "executor",
521
+ "type": "address"
522
+ },
523
+ {
524
+ "components": [
525
+ {
526
+ "internalType": "contract IERC20",
527
+ "name": "srcToken",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "internalType": "contract IERC20",
532
+ "name": "destToken",
533
+ "type": "address"
534
+ },
535
+ {
536
+ "internalType": "uint256",
537
+ "name": "fromAmount",
538
+ "type": "uint256"
539
+ },
540
+ {
541
+ "internalType": "uint256",
542
+ "name": "toAmount",
543
+ "type": "uint256"
544
+ },
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "toll",
548
+ "type": "uint256"
549
+ },
550
+ {
551
+ "internalType": "uint256",
552
+ "name": "to18ConversionFactor",
553
+ "type": "uint256"
554
+ },
555
+ {
556
+ "internalType": "address",
557
+ "name": "exchange",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "address",
562
+ "name": "gemJoinAddress",
563
+ "type": "address"
564
+ },
565
+ {
566
+ "internalType": "bytes32",
567
+ "name": "metadata",
568
+ "type": "bytes32"
569
+ },
570
+ {
571
+ "internalType": "uint256",
572
+ "name": "beneficiaryDirectionApproveFlag",
573
+ "type": "uint256"
574
+ }
575
+ ],
576
+ "internalType": "struct IAugustusV6.MakerPSMData",
577
+ "name": "makerPSMData",
578
+ "type": "tuple"
579
+ },
580
+ {
581
+ "internalType": "bytes",
582
+ "name": "permit",
583
+ "type": "bytes"
584
+ }
585
+ ],
586
+ "name": "swapExactAmountInOutOnMakerPSM",
587
+ "outputs": [
588
+ {
589
+ "internalType": "uint256",
590
+ "name": "spentAmount",
591
+ "type": "uint256"
592
+ },
593
+ {
594
+ "internalType": "uint256",
595
+ "name": "receivedAmount",
596
+ "type": "uint256"
597
+ }
598
+ ],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ }
602
+ ],
603
+ "bytecode": "0x",
604
+ "deployedBytecode": "0x",
605
+ "linkReferences": {},
606
+ "deployedLinkReferences": {}
607
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/4429c89380c6efdf32578c1cde66d01a.json"
4
+ }