@pendle/core-v2 5.8.2-paraswap-2 → 5.8.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.
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +28 -3
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.json +0 -30
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
- package/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +8 -3
- package/contracts/router/swap-aggregator/ParaswapScaleHelper.sol +49 -44
- package/deployments/1-core.json +2 -2
- package/deployments/10-core.json +2 -2
- package/deployments/146-core.json +2 -2
- package/deployments/42161-core.json +2 -2
- package/deployments/5000-core.json +2 -2
- package/deployments/56-core.json +2 -2
- package/deployments/80094-core.json +2 -2
- package/deployments/8453-core.json +2 -2
- package/package.json +1 -1
- package/typechain-types/IAugustusV6.ts +11 -42
- package/typechain-types/PendleSparkLinearDiscountOracleFactory.ts +25 -3
- package/typechain-types/factories/IAugustusV6__factory.ts +0 -30
- package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +27 -2
- package/typechain-types/factories/PendleSwap__factory.ts +1 -1
- package/typechain-types/hardhat.d.ts +0 -9
- package/typechain-types/index.ts +0 -2
- package/deployments/merkle-distribution/2023-04-27.json +0 -3342
- package/deployments/merkle-distribution/2023-05-25.json +0 -3749
- package/deployments/merkle-distribution/2023-06-29.json +0 -4729
- package/deployments/merkle-distribution/2023-07-27.json +0 -5525
- package/deployments/merkle-distribution/2023-08-31.json +0 -6135
- package/deployments/merkle-distribution/2023-09-28.json +0 -6770
- package/deployments/merkle-distribution/2023-10-26.json +0 -7300
- package/deployments/merkle-distribution/2023-11-30.json +0 -7730
- package/deployments/merkle-distribution/2023-12-28.json +0 -8225
- package/deployments/merkle-distribution/2024-01-25.json +0 -9615
- package/deployments/merkle-distribution/2024-02-29.json +0 -12125
- package/deployments/merkle-distribution/2024-03-28.json +0 -12725
- package/deployments/merkle-distribution/2024-04-25.json +0 -14930
- package/deployments/merkle-distribution/2024-05-30.json +0 -17255
- package/deployments/merkle-distribution/2024-06-27.json +0 -18995
- package/deployments/merkle-distribution/2024-07-25.json +0 -20365
- package/deployments/merkle-distribution/2024-08-29.json +0 -21525
- package/deployments/merkle-distribution/2024-09-26-retroactive.json +0 -21525
- package/deployments/merkle-distribution/2024-09-26.json +0 -22340
- package/deployments/merkle-distribution/2024-10-31.json +0 -23370
- package/deployments/merkle-distribution/2024-11-28.json +0 -24040
- package/deployments/merkle-distribution/2024-12-26.json +0 -25555
- package/deployments/merkle-distribution/2024-12-31-snapshot.json +0 -65767
- package/deployments/merkle-distribution/2025-01-30.json +0 -28060
- package/deployments/merkle-distribution/2025-02-27.json +0 -29930
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
2
|
+
|
|
2
3
|
pragma solidity ^0.8.17;
|
|
3
4
|
|
|
4
5
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
|
@@ -36,7 +37,6 @@ interface IAugustusV6 {
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
function swapExactAmountInOnUniswapV2(
|
|
39
|
-
address executor,
|
|
40
40
|
UniswapV2Data calldata uniData,
|
|
41
41
|
uint256 partnerAndFee,
|
|
42
42
|
bytes calldata permit
|
|
@@ -55,7 +55,6 @@ interface IAugustusV6 {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
function swapExactAmountInOnUniswapV3(
|
|
58
|
-
address executor,
|
|
59
58
|
UniswapV3Data calldata uniData,
|
|
60
59
|
uint256 partnerAndFee,
|
|
61
60
|
bytes calldata permit
|
|
@@ -71,7 +70,6 @@ interface IAugustusV6 {
|
|
|
71
70
|
}
|
|
72
71
|
|
|
73
72
|
function swapExactAmountInOnBalancerV2(
|
|
74
|
-
address executor,
|
|
75
73
|
BalancerV2Data calldata balancerData,
|
|
76
74
|
uint256 partnerAndFee,
|
|
77
75
|
bytes calldata permit,
|
|
@@ -92,7 +90,6 @@ interface IAugustusV6 {
|
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
function swapExactAmountInOnCurveV1(
|
|
95
|
-
address executor,
|
|
96
93
|
CurveV1Data calldata curveV1Data,
|
|
97
94
|
uint256 partnerAndFee,
|
|
98
95
|
bytes calldata permit
|
|
@@ -114,7 +111,6 @@ interface IAugustusV6 {
|
|
|
114
111
|
}
|
|
115
112
|
|
|
116
113
|
function swapExactAmountInOnCurveV2(
|
|
117
|
-
address executor,
|
|
118
114
|
CurveV2Data calldata curveV2Data,
|
|
119
115
|
uint256 partnerAndFee,
|
|
120
116
|
bytes calldata permit
|
|
@@ -134,17 +130,17 @@ interface IAugustusV6 {
|
|
|
134
130
|
uint256 beneficiaryDirectionApproveFlag;
|
|
135
131
|
}
|
|
136
132
|
|
|
137
|
-
function swapExactAmountInOutOnMakerPSM(
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
function swapExactAmountInOutOnMakerPSM(
|
|
134
|
+
MakerPSMData calldata makerPSMData,
|
|
135
|
+
bytes calldata permit
|
|
136
|
+
) external returns (uint256 spentAmount, uint256 receivedAmount);
|
|
140
137
|
}
|
|
141
138
|
|
|
142
139
|
contract ParaswapScaleHelper {
|
|
143
|
-
function _paraswapScaling(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
{
|
|
140
|
+
function _paraswapScaling(
|
|
141
|
+
bytes calldata rawCallData,
|
|
142
|
+
uint256 amountIn
|
|
143
|
+
) internal pure returns (bytes memory scaledCallData) {
|
|
148
144
|
bytes4 selector = bytes4(rawCallData[:4]);
|
|
149
145
|
bytes calldata dataToDecode = rawCallData[4:];
|
|
150
146
|
|
|
@@ -159,87 +155,96 @@ contract ParaswapScaleHelper {
|
|
|
159
155
|
) = abi.decode(dataToDecode, (address, IAugustusV6.GenericData, uint256, bytes, bytes));
|
|
160
156
|
|
|
161
157
|
// Direct scaling calculation
|
|
162
|
-
swapData.toAmount = swapData.toAmount * amountIn / swapData.fromAmount;
|
|
163
|
-
swapData.quotedAmount = swapData.quotedAmount * amountIn / swapData.fromAmount;
|
|
158
|
+
swapData.toAmount = (swapData.toAmount * amountIn) / swapData.fromAmount;
|
|
159
|
+
swapData.quotedAmount = (swapData.quotedAmount * amountIn) / swapData.fromAmount;
|
|
164
160
|
swapData.fromAmount = amountIn;
|
|
165
161
|
|
|
166
162
|
return abi.encodeWithSelector(selector, executor, swapData, partnerAndFee, permit, executorData);
|
|
167
163
|
}
|
|
168
164
|
// Handle UniswapV2
|
|
169
165
|
else if (selector == IAugustusV6.swapExactAmountInOnUniswapV2.selector) {
|
|
170
|
-
(
|
|
171
|
-
|
|
166
|
+
(IAugustusV6.UniswapV2Data memory uniData, uint256 partnerAndFee, bytes memory permit) = abi.decode(
|
|
167
|
+
dataToDecode,
|
|
168
|
+
(IAugustusV6.UniswapV2Data, uint256, bytes)
|
|
169
|
+
);
|
|
172
170
|
|
|
173
171
|
// Direct scaling calculation
|
|
174
|
-
uniData.toAmount = uniData.toAmount * amountIn / uniData.fromAmount;
|
|
175
|
-
uniData.quotedAmount = uniData.quotedAmount * amountIn / uniData.fromAmount;
|
|
172
|
+
uniData.toAmount = (uniData.toAmount * amountIn) / uniData.fromAmount;
|
|
173
|
+
uniData.quotedAmount = (uniData.quotedAmount * amountIn) / uniData.fromAmount;
|
|
176
174
|
uniData.fromAmount = amountIn;
|
|
177
175
|
|
|
178
|
-
return abi.encodeWithSelector(selector,
|
|
176
|
+
return abi.encodeWithSelector(selector, uniData, partnerAndFee, permit);
|
|
179
177
|
}
|
|
180
178
|
// Handle UniswapV3
|
|
181
179
|
else if (selector == IAugustusV6.swapExactAmountInOnUniswapV3.selector) {
|
|
182
|
-
(
|
|
183
|
-
|
|
180
|
+
(IAugustusV6.UniswapV3Data memory uniV3Data, uint256 partnerAndFee, bytes memory permit) = abi.decode(
|
|
181
|
+
dataToDecode,
|
|
182
|
+
(IAugustusV6.UniswapV3Data, uint256, bytes)
|
|
183
|
+
);
|
|
184
184
|
|
|
185
185
|
// Direct scaling calculation
|
|
186
|
-
uniV3Data.toAmount = uniV3Data.toAmount * amountIn / uniV3Data.fromAmount;
|
|
187
|
-
uniV3Data.quotedAmount = uniV3Data.quotedAmount * amountIn / uniV3Data.fromAmount;
|
|
186
|
+
uniV3Data.toAmount = (uniV3Data.toAmount * amountIn) / uniV3Data.fromAmount;
|
|
187
|
+
uniV3Data.quotedAmount = (uniV3Data.quotedAmount * amountIn) / uniV3Data.fromAmount;
|
|
188
188
|
uniV3Data.fromAmount = amountIn;
|
|
189
189
|
|
|
190
|
-
return abi.encodeWithSelector(selector,
|
|
190
|
+
return abi.encodeWithSelector(selector, uniV3Data, partnerAndFee, permit);
|
|
191
191
|
}
|
|
192
192
|
// Handle BalancerV2
|
|
193
193
|
else if (selector == IAugustusV6.swapExactAmountInOnBalancerV2.selector) {
|
|
194
194
|
(
|
|
195
|
-
address executor,
|
|
196
195
|
IAugustusV6.BalancerV2Data memory balancerData,
|
|
197
196
|
uint256 partnerAndFee,
|
|
198
197
|
bytes memory permit,
|
|
199
198
|
bytes memory data
|
|
200
|
-
) = abi.decode(dataToDecode, (
|
|
199
|
+
) = abi.decode(dataToDecode, (IAugustusV6.BalancerV2Data, uint256, bytes, bytes));
|
|
201
200
|
|
|
202
201
|
// Direct scaling calculation
|
|
203
|
-
balancerData.toAmount = balancerData.toAmount * amountIn / balancerData.fromAmount;
|
|
204
|
-
balancerData.quotedAmount = balancerData.quotedAmount * amountIn / balancerData.fromAmount;
|
|
202
|
+
balancerData.toAmount = (balancerData.toAmount * amountIn) / balancerData.fromAmount;
|
|
203
|
+
balancerData.quotedAmount = (balancerData.quotedAmount * amountIn) / balancerData.fromAmount;
|
|
205
204
|
balancerData.fromAmount = amountIn;
|
|
206
205
|
|
|
207
|
-
return abi.encodeWithSelector(selector,
|
|
206
|
+
return abi.encodeWithSelector(selector, balancerData, partnerAndFee, permit, data);
|
|
208
207
|
}
|
|
209
208
|
// Handle CurveV1
|
|
210
209
|
else if (selector == IAugustusV6.swapExactAmountInOnCurveV1.selector) {
|
|
211
|
-
(
|
|
212
|
-
|
|
210
|
+
(IAugustusV6.CurveV1Data memory curveV1Data, uint256 partnerAndFee, bytes memory permit) = abi.decode(
|
|
211
|
+
dataToDecode,
|
|
212
|
+
(IAugustusV6.CurveV1Data, uint256, bytes)
|
|
213
|
+
);
|
|
213
214
|
|
|
214
215
|
// Direct scaling calculation
|
|
215
|
-
curveV1Data.toAmount = curveV1Data.toAmount * amountIn / curveV1Data.fromAmount;
|
|
216
|
-
curveV1Data.quotedAmount = curveV1Data.quotedAmount * amountIn / curveV1Data.fromAmount;
|
|
216
|
+
curveV1Data.toAmount = (curveV1Data.toAmount * amountIn) / curveV1Data.fromAmount;
|
|
217
|
+
curveV1Data.quotedAmount = (curveV1Data.quotedAmount * amountIn) / curveV1Data.fromAmount;
|
|
217
218
|
curveV1Data.fromAmount = amountIn;
|
|
218
219
|
|
|
219
|
-
return abi.encodeWithSelector(selector,
|
|
220
|
+
return abi.encodeWithSelector(selector, curveV1Data, partnerAndFee, permit);
|
|
220
221
|
}
|
|
221
222
|
// Handle CurveV2
|
|
222
223
|
else if (selector == IAugustusV6.swapExactAmountInOnCurveV2.selector) {
|
|
223
|
-
(
|
|
224
|
-
|
|
224
|
+
(IAugustusV6.CurveV2Data memory curveV2Data, uint256 partnerAndFee, bytes memory permit) = abi.decode(
|
|
225
|
+
dataToDecode,
|
|
226
|
+
(IAugustusV6.CurveV2Data, uint256, bytes)
|
|
227
|
+
);
|
|
225
228
|
|
|
226
229
|
// Direct scaling calculation
|
|
227
|
-
curveV2Data.toAmount = curveV2Data.toAmount * amountIn / curveV2Data.fromAmount;
|
|
228
|
-
curveV2Data.quotedAmount = curveV2Data.quotedAmount * amountIn / curveV2Data.fromAmount;
|
|
230
|
+
curveV2Data.toAmount = (curveV2Data.toAmount * amountIn) / curveV2Data.fromAmount;
|
|
231
|
+
curveV2Data.quotedAmount = (curveV2Data.quotedAmount * amountIn) / curveV2Data.fromAmount;
|
|
229
232
|
curveV2Data.fromAmount = amountIn;
|
|
230
233
|
|
|
231
|
-
return abi.encodeWithSelector(selector,
|
|
234
|
+
return abi.encodeWithSelector(selector, curveV2Data, partnerAndFee, permit);
|
|
232
235
|
}
|
|
233
236
|
// Handle MakerPSM
|
|
234
237
|
else if (selector == IAugustusV6.swapExactAmountInOutOnMakerPSM.selector) {
|
|
235
|
-
(
|
|
236
|
-
|
|
238
|
+
(IAugustusV6.MakerPSMData memory makerPSMData, bytes memory permit) = abi.decode(
|
|
239
|
+
dataToDecode,
|
|
240
|
+
(IAugustusV6.MakerPSMData, bytes)
|
|
241
|
+
);
|
|
237
242
|
|
|
238
243
|
// Direct scaling calculation
|
|
239
|
-
makerPSMData.toAmount = makerPSMData.toAmount * amountIn / makerPSMData.fromAmount;
|
|
244
|
+
makerPSMData.toAmount = (makerPSMData.toAmount * amountIn) / makerPSMData.fromAmount;
|
|
240
245
|
makerPSMData.fromAmount = amountIn;
|
|
241
246
|
|
|
242
|
-
return abi.encodeWithSelector(selector,
|
|
247
|
+
return abi.encodeWithSelector(selector, makerPSMData, permit);
|
|
243
248
|
}
|
|
244
249
|
|
|
245
250
|
revert("ParaswapScaleHelper: Unsupported swap selector");
|
package/deployments/1-core.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
|
|
33
33
|
},
|
|
34
34
|
"routerStatic": "0x263833d47eA3fA4a30f269323aba6a107f9eB14C",
|
|
35
|
-
"pendleSwap": "
|
|
35
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
36
36
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
37
37
|
"yieldContractFactoryV3": "0xdF3601014686674e53d1Fa52F7602525483F9122",
|
|
38
38
|
"marketFactoryV3": "0x1A6fCc85557BC4fB7B534ed835a03EF056552D52",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"reflector": "0x73d5DBF81A4f3bFa7b335e6a2d4638D6017a4fA8",
|
|
48
48
|
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
49
49
|
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
50
|
-
"sparkLinearDiscountOracleFactory": "
|
|
50
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
51
51
|
"beta": {
|
|
52
52
|
"PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
|
|
53
53
|
},
|
package/deployments/10-core.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
|
|
32
32
|
},
|
|
33
33
|
"routerStatic": "0x704478Dd72FD7F9B83d1F1e0fc18C14B54F034d0",
|
|
34
|
-
"pendleSwap": "
|
|
34
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
35
35
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
36
36
|
"yieldContractFactoryV3": "0xfa6B22FC4c3Ad88B68c16b3061a16b1714F6Bd57",
|
|
37
37
|
"marketFactoryV3": "0x4A2B38b9cBd83c86F261a4d64c243795D4d44aBC",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
48
48
|
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
49
49
|
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
50
|
-
"sparkLinearDiscountOracleFactory": "
|
|
50
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
51
51
|
"beta": {
|
|
52
52
|
"PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
|
|
53
53
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"ActionStorageV4": "0xdED51dca2ECED7a0BAab3D9711A87f214769Da0f"
|
|
29
29
|
},
|
|
30
30
|
"routerStatic": "0x0013ACc071f732fd6BF8210AB46A3794a7D8945e",
|
|
31
|
-
"pendleSwap": "
|
|
31
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
32
32
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
33
33
|
"reflector": "0x73d5DBF81A4f3bFa7b335e6a2d4638D6017a4fA8",
|
|
34
34
|
"limitRouter": "0x000000000000c9B3E2C3Ec88B1B4c0cD853f4321",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"receiverEndpoint": "0x3209E9412cca80B18338f2a56ADA59c484c39644",
|
|
42
42
|
"vePendle": "0xE017CCC08505Ac8fbb5a364680e459d9fBaEE74d",
|
|
43
43
|
"gaugeController": "0xeE708FC793a02F1eDd5BB9DBD7fD13010D1F7136",
|
|
44
|
-
"sparkLinearDiscountOracleFactory": "
|
|
44
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
45
45
|
"vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
|
|
46
46
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
47
47
|
"beta": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
|
|
32
32
|
},
|
|
33
33
|
"routerStatic": "0xAdB09F65bd90d19e3148D9ccb693F3161C6DB3E8",
|
|
34
|
-
"pendleSwap": "
|
|
34
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
35
35
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
36
36
|
"yieldContractFactoryV3": "0xEb38531db128EcA928aea1B1CE9E5609B15ba146",
|
|
37
37
|
"marketFactoryV3": "0x2FCb47B58350cD377f94d3821e7373Df60bD9Ced",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
48
48
|
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
49
49
|
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
50
|
-
"sparkLinearDiscountOracleFactory": "
|
|
50
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
51
51
|
"beta": {
|
|
52
52
|
"PendleChainlinkOracleFactory": "0x2A73e899389cABa2a2f648BaBA35e67f5C00EFee"
|
|
53
53
|
},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
|
|
30
30
|
},
|
|
31
31
|
"routerStatic": "0xCAd502Bb55d1A3F79952F969BFF3f011CF30a94a",
|
|
32
|
-
"pendleSwap": "
|
|
32
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
33
33
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
34
34
|
"yieldContractFactoryV3": "0x964840644B88C583500F473E4B829Ab629aF96A8",
|
|
35
35
|
"marketFactoryV3": "0xD228EC1f7D4313fe321fab511A872475D07F5bA6",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"receiverEndpoint": "0xf799E4c029d14f41Dc1918C9A4C67242F565710e",
|
|
48
48
|
"vePendle": "0x30c6d4e892871220B5Ab66c10db577da96Fb974b",
|
|
49
49
|
"gaugeController": "0x428f2f93afAc3F96B0DE59854038c585e06165C8",
|
|
50
|
-
"sparkLinearDiscountOracleFactory": "
|
|
50
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
51
51
|
"vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
|
|
52
52
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
53
53
|
"beta": {
|
package/deployments/56-core.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
|
|
32
32
|
},
|
|
33
33
|
"routerStatic": "0x2700ADB035F82a11899ce1D3f1BF8451c296eABb",
|
|
34
|
-
"pendleSwap": "
|
|
34
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
35
35
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
36
36
|
"yieldContractFactoryV3": "0x40Ae6da2d92aa3DCb7f8d7a7209FD12BDfcb7C85",
|
|
37
37
|
"marketFactoryV3": "0xC40fEbF5A33b8C92B187d9be0fD3fe0ac2E4B07c",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"reflector": "0x73d5DBF81A4f3bFa7b335e6a2d4638D6017a4fA8",
|
|
46
46
|
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
47
47
|
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
48
|
-
"sparkLinearDiscountOracleFactory": "
|
|
48
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
49
49
|
"vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
|
|
50
50
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
51
51
|
"beta": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"ActionStorageV4": "0xdED51dca2ECED7a0BAab3D9711A87f214769Da0f"
|
|
29
29
|
},
|
|
30
30
|
"routerStatic": "0x6813d43782395A1F2AAb42f39aeEDE03ac655e09",
|
|
31
|
-
"pendleSwap": "
|
|
31
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
32
32
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
33
33
|
"yieldContractFactoryV5": "0x2bEa6BfD8fbFF45aA2a893EB3B6d85D10EFcC70E",
|
|
34
34
|
"marketFactoryV5": "0x8A09574b0401A856d89d1b583eE22E8cb0C5530B",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"reflector": "0x73d5DBF81A4f3bFa7b335e6a2d4638D6017a4fA8",
|
|
39
39
|
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
40
40
|
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
41
|
-
"sparkLinearDiscountOracleFactory": "
|
|
41
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
42
42
|
"vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
|
|
43
43
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
44
44
|
"beta": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
|
|
29
29
|
},
|
|
30
30
|
"routerStatic": "0xB4205a645c7e920BD8504181B1D7f2c5C955C3e7",
|
|
31
|
-
"pendleSwap": "
|
|
31
|
+
"pendleSwap": "0xd4e9B0d466789d7F6201442eecCBA6a75A552db0",
|
|
32
32
|
"pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
|
|
33
33
|
"yieldContractFactoryV5": "0x963ddBB35c1AE44e2a159E3b5fb5177E0B32660d",
|
|
34
34
|
"marketFactoryV5": "0x59968008a703dC13E6beaECed644bdCe4ee45d13",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"reflector": "0x73d5DBF81A4f3bFa7b335e6a2d4638D6017a4fA8",
|
|
39
39
|
"commonDeploy": "0x2Ed473F528E5B320f850d17ADfe0e558f0298aA9",
|
|
40
40
|
"syFactory": "0x466CeD3b33045Ea986B2f306C8D0aA8067961CF8",
|
|
41
|
-
"sparkLinearDiscountOracleFactory": "
|
|
41
|
+
"sparkLinearDiscountOracleFactory": "0x34C91651A070664279866E5f3d6B4d5F65cbbFFb",
|
|
42
42
|
"vePendleAirdropDistributor": "0x3942F7B55094250644cFfDa7160226Caa349A38E",
|
|
43
43
|
"externalRewardsDistributor": "0xae898a7d07f8e27f25e13d0f351a7401f9a5bf9d",
|
|
44
44
|
"beta": {
|
package/package.json
CHANGED
|
@@ -252,12 +252,12 @@ export interface IAugustusV6Interface extends utils.Interface {
|
|
|
252
252
|
contractName: "IAugustusV6";
|
|
253
253
|
functions: {
|
|
254
254
|
"swapExactAmountIn(address,(address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes,bytes)": FunctionFragment;
|
|
255
|
-
"swapExactAmountInOnBalancerV2(
|
|
256
|
-
"swapExactAmountInOnCurveV1(
|
|
257
|
-
"swapExactAmountInOnCurveV2(
|
|
258
|
-
"swapExactAmountInOnUniswapV2(
|
|
259
|
-
"swapExactAmountInOnUniswapV3(
|
|
260
|
-
"swapExactAmountInOutOnMakerPSM(
|
|
255
|
+
"swapExactAmountInOnBalancerV2((uint256,uint256,uint256,bytes32,uint256),uint256,bytes,bytes)": FunctionFragment;
|
|
256
|
+
"swapExactAmountInOnCurveV1((uint256,uint256,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)": FunctionFragment;
|
|
257
|
+
"swapExactAmountInOnCurveV2((uint256,uint256,uint256,address,address,address,uint256,uint256,uint256,bytes32,address),uint256,bytes)": FunctionFragment;
|
|
258
|
+
"swapExactAmountInOnUniswapV2((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)": FunctionFragment;
|
|
259
|
+
"swapExactAmountInOnUniswapV3((address,address,uint256,uint256,uint256,bytes32,address,bytes),uint256,bytes)": FunctionFragment;
|
|
260
|
+
"swapExactAmountInOutOnMakerPSM((address,address,uint256,uint256,uint256,uint256,address,address,bytes32,uint256),bytes)": FunctionFragment;
|
|
261
261
|
};
|
|
262
262
|
|
|
263
263
|
encodeFunctionData(
|
|
@@ -273,7 +273,6 @@ export interface IAugustusV6Interface extends utils.Interface {
|
|
|
273
273
|
encodeFunctionData(
|
|
274
274
|
functionFragment: "swapExactAmountInOnBalancerV2",
|
|
275
275
|
values: [
|
|
276
|
-
string,
|
|
277
276
|
IAugustusV6.BalancerV2DataStruct,
|
|
278
277
|
BigNumberish,
|
|
279
278
|
BytesLike,
|
|
@@ -282,23 +281,23 @@ export interface IAugustusV6Interface extends utils.Interface {
|
|
|
282
281
|
): string;
|
|
283
282
|
encodeFunctionData(
|
|
284
283
|
functionFragment: "swapExactAmountInOnCurveV1",
|
|
285
|
-
values: [
|
|
284
|
+
values: [IAugustusV6.CurveV1DataStruct, BigNumberish, BytesLike]
|
|
286
285
|
): string;
|
|
287
286
|
encodeFunctionData(
|
|
288
287
|
functionFragment: "swapExactAmountInOnCurveV2",
|
|
289
|
-
values: [
|
|
288
|
+
values: [IAugustusV6.CurveV2DataStruct, BigNumberish, BytesLike]
|
|
290
289
|
): string;
|
|
291
290
|
encodeFunctionData(
|
|
292
291
|
functionFragment: "swapExactAmountInOnUniswapV2",
|
|
293
|
-
values: [
|
|
292
|
+
values: [IAugustusV6.UniswapV2DataStruct, BigNumberish, BytesLike]
|
|
294
293
|
): string;
|
|
295
294
|
encodeFunctionData(
|
|
296
295
|
functionFragment: "swapExactAmountInOnUniswapV3",
|
|
297
|
-
values: [
|
|
296
|
+
values: [IAugustusV6.UniswapV3DataStruct, BigNumberish, BytesLike]
|
|
298
297
|
): string;
|
|
299
298
|
encodeFunctionData(
|
|
300
299
|
functionFragment: "swapExactAmountInOutOnMakerPSM",
|
|
301
|
-
values: [
|
|
300
|
+
values: [IAugustusV6.MakerPSMDataStruct, BytesLike]
|
|
302
301
|
): string;
|
|
303
302
|
|
|
304
303
|
decodeFunctionResult(
|
|
@@ -371,7 +370,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
371
370
|
): Promise<ContractTransaction>;
|
|
372
371
|
|
|
373
372
|
swapExactAmountInOnBalancerV2(
|
|
374
|
-
executor: string,
|
|
375
373
|
balancerData: IAugustusV6.BalancerV2DataStruct,
|
|
376
374
|
partnerAndFee: BigNumberish,
|
|
377
375
|
permit: BytesLike,
|
|
@@ -380,7 +378,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
380
378
|
): Promise<ContractTransaction>;
|
|
381
379
|
|
|
382
380
|
swapExactAmountInOnCurveV1(
|
|
383
|
-
executor: string,
|
|
384
381
|
curveV1Data: IAugustusV6.CurveV1DataStruct,
|
|
385
382
|
partnerAndFee: BigNumberish,
|
|
386
383
|
permit: BytesLike,
|
|
@@ -388,7 +385,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
388
385
|
): Promise<ContractTransaction>;
|
|
389
386
|
|
|
390
387
|
swapExactAmountInOnCurveV2(
|
|
391
|
-
executor: string,
|
|
392
388
|
curveV2Data: IAugustusV6.CurveV2DataStruct,
|
|
393
389
|
partnerAndFee: BigNumberish,
|
|
394
390
|
permit: BytesLike,
|
|
@@ -396,7 +392,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
396
392
|
): Promise<ContractTransaction>;
|
|
397
393
|
|
|
398
394
|
swapExactAmountInOnUniswapV2(
|
|
399
|
-
executor: string,
|
|
400
395
|
uniData: IAugustusV6.UniswapV2DataStruct,
|
|
401
396
|
partnerAndFee: BigNumberish,
|
|
402
397
|
permit: BytesLike,
|
|
@@ -404,7 +399,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
404
399
|
): Promise<ContractTransaction>;
|
|
405
400
|
|
|
406
401
|
swapExactAmountInOnUniswapV3(
|
|
407
|
-
executor: string,
|
|
408
402
|
uniData: IAugustusV6.UniswapV3DataStruct,
|
|
409
403
|
partnerAndFee: BigNumberish,
|
|
410
404
|
permit: BytesLike,
|
|
@@ -412,7 +406,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
412
406
|
): Promise<ContractTransaction>;
|
|
413
407
|
|
|
414
408
|
swapExactAmountInOutOnMakerPSM(
|
|
415
|
-
executor: string,
|
|
416
409
|
makerPSMData: IAugustusV6.MakerPSMDataStruct,
|
|
417
410
|
permit: BytesLike,
|
|
418
411
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -429,7 +422,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
429
422
|
): Promise<ContractTransaction>;
|
|
430
423
|
|
|
431
424
|
swapExactAmountInOnBalancerV2(
|
|
432
|
-
executor: string,
|
|
433
425
|
balancerData: IAugustusV6.BalancerV2DataStruct,
|
|
434
426
|
partnerAndFee: BigNumberish,
|
|
435
427
|
permit: BytesLike,
|
|
@@ -438,7 +430,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
438
430
|
): Promise<ContractTransaction>;
|
|
439
431
|
|
|
440
432
|
swapExactAmountInOnCurveV1(
|
|
441
|
-
executor: string,
|
|
442
433
|
curveV1Data: IAugustusV6.CurveV1DataStruct,
|
|
443
434
|
partnerAndFee: BigNumberish,
|
|
444
435
|
permit: BytesLike,
|
|
@@ -446,7 +437,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
446
437
|
): Promise<ContractTransaction>;
|
|
447
438
|
|
|
448
439
|
swapExactAmountInOnCurveV2(
|
|
449
|
-
executor: string,
|
|
450
440
|
curveV2Data: IAugustusV6.CurveV2DataStruct,
|
|
451
441
|
partnerAndFee: BigNumberish,
|
|
452
442
|
permit: BytesLike,
|
|
@@ -454,7 +444,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
454
444
|
): Promise<ContractTransaction>;
|
|
455
445
|
|
|
456
446
|
swapExactAmountInOnUniswapV2(
|
|
457
|
-
executor: string,
|
|
458
447
|
uniData: IAugustusV6.UniswapV2DataStruct,
|
|
459
448
|
partnerAndFee: BigNumberish,
|
|
460
449
|
permit: BytesLike,
|
|
@@ -462,7 +451,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
462
451
|
): Promise<ContractTransaction>;
|
|
463
452
|
|
|
464
453
|
swapExactAmountInOnUniswapV3(
|
|
465
|
-
executor: string,
|
|
466
454
|
uniData: IAugustusV6.UniswapV3DataStruct,
|
|
467
455
|
partnerAndFee: BigNumberish,
|
|
468
456
|
permit: BytesLike,
|
|
@@ -470,7 +458,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
470
458
|
): Promise<ContractTransaction>;
|
|
471
459
|
|
|
472
460
|
swapExactAmountInOutOnMakerPSM(
|
|
473
|
-
executor: string,
|
|
474
461
|
makerPSMData: IAugustusV6.MakerPSMDataStruct,
|
|
475
462
|
permit: BytesLike,
|
|
476
463
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -487,7 +474,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
487
474
|
): Promise<void>;
|
|
488
475
|
|
|
489
476
|
swapExactAmountInOnBalancerV2(
|
|
490
|
-
executor: string,
|
|
491
477
|
balancerData: IAugustusV6.BalancerV2DataStruct,
|
|
492
478
|
partnerAndFee: BigNumberish,
|
|
493
479
|
permit: BytesLike,
|
|
@@ -502,7 +488,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
502
488
|
>;
|
|
503
489
|
|
|
504
490
|
swapExactAmountInOnCurveV1(
|
|
505
|
-
executor: string,
|
|
506
491
|
curveV1Data: IAugustusV6.CurveV1DataStruct,
|
|
507
492
|
partnerAndFee: BigNumberish,
|
|
508
493
|
permit: BytesLike,
|
|
@@ -516,7 +501,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
516
501
|
>;
|
|
517
502
|
|
|
518
503
|
swapExactAmountInOnCurveV2(
|
|
519
|
-
executor: string,
|
|
520
504
|
curveV2Data: IAugustusV6.CurveV2DataStruct,
|
|
521
505
|
partnerAndFee: BigNumberish,
|
|
522
506
|
permit: BytesLike,
|
|
@@ -530,7 +514,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
530
514
|
>;
|
|
531
515
|
|
|
532
516
|
swapExactAmountInOnUniswapV2(
|
|
533
|
-
executor: string,
|
|
534
517
|
uniData: IAugustusV6.UniswapV2DataStruct,
|
|
535
518
|
partnerAndFee: BigNumberish,
|
|
536
519
|
permit: BytesLike,
|
|
@@ -544,7 +527,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
544
527
|
>;
|
|
545
528
|
|
|
546
529
|
swapExactAmountInOnUniswapV3(
|
|
547
|
-
executor: string,
|
|
548
530
|
uniData: IAugustusV6.UniswapV3DataStruct,
|
|
549
531
|
partnerAndFee: BigNumberish,
|
|
550
532
|
permit: BytesLike,
|
|
@@ -558,7 +540,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
558
540
|
>;
|
|
559
541
|
|
|
560
542
|
swapExactAmountInOutOnMakerPSM(
|
|
561
|
-
executor: string,
|
|
562
543
|
makerPSMData: IAugustusV6.MakerPSMDataStruct,
|
|
563
544
|
permit: BytesLike,
|
|
564
545
|
overrides?: CallOverrides
|
|
@@ -583,7 +564,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
583
564
|
): Promise<BigNumber>;
|
|
584
565
|
|
|
585
566
|
swapExactAmountInOnBalancerV2(
|
|
586
|
-
executor: string,
|
|
587
567
|
balancerData: IAugustusV6.BalancerV2DataStruct,
|
|
588
568
|
partnerAndFee: BigNumberish,
|
|
589
569
|
permit: BytesLike,
|
|
@@ -592,7 +572,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
592
572
|
): Promise<BigNumber>;
|
|
593
573
|
|
|
594
574
|
swapExactAmountInOnCurveV1(
|
|
595
|
-
executor: string,
|
|
596
575
|
curveV1Data: IAugustusV6.CurveV1DataStruct,
|
|
597
576
|
partnerAndFee: BigNumberish,
|
|
598
577
|
permit: BytesLike,
|
|
@@ -600,7 +579,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
600
579
|
): Promise<BigNumber>;
|
|
601
580
|
|
|
602
581
|
swapExactAmountInOnCurveV2(
|
|
603
|
-
executor: string,
|
|
604
582
|
curveV2Data: IAugustusV6.CurveV2DataStruct,
|
|
605
583
|
partnerAndFee: BigNumberish,
|
|
606
584
|
permit: BytesLike,
|
|
@@ -608,7 +586,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
608
586
|
): Promise<BigNumber>;
|
|
609
587
|
|
|
610
588
|
swapExactAmountInOnUniswapV2(
|
|
611
|
-
executor: string,
|
|
612
589
|
uniData: IAugustusV6.UniswapV2DataStruct,
|
|
613
590
|
partnerAndFee: BigNumberish,
|
|
614
591
|
permit: BytesLike,
|
|
@@ -616,7 +593,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
616
593
|
): Promise<BigNumber>;
|
|
617
594
|
|
|
618
595
|
swapExactAmountInOnUniswapV3(
|
|
619
|
-
executor: string,
|
|
620
596
|
uniData: IAugustusV6.UniswapV3DataStruct,
|
|
621
597
|
partnerAndFee: BigNumberish,
|
|
622
598
|
permit: BytesLike,
|
|
@@ -624,7 +600,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
624
600
|
): Promise<BigNumber>;
|
|
625
601
|
|
|
626
602
|
swapExactAmountInOutOnMakerPSM(
|
|
627
|
-
executor: string,
|
|
628
603
|
makerPSMData: IAugustusV6.MakerPSMDataStruct,
|
|
629
604
|
permit: BytesLike,
|
|
630
605
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -642,7 +617,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
642
617
|
): Promise<PopulatedTransaction>;
|
|
643
618
|
|
|
644
619
|
swapExactAmountInOnBalancerV2(
|
|
645
|
-
executor: string,
|
|
646
620
|
balancerData: IAugustusV6.BalancerV2DataStruct,
|
|
647
621
|
partnerAndFee: BigNumberish,
|
|
648
622
|
permit: BytesLike,
|
|
@@ -651,7 +625,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
651
625
|
): Promise<PopulatedTransaction>;
|
|
652
626
|
|
|
653
627
|
swapExactAmountInOnCurveV1(
|
|
654
|
-
executor: string,
|
|
655
628
|
curveV1Data: IAugustusV6.CurveV1DataStruct,
|
|
656
629
|
partnerAndFee: BigNumberish,
|
|
657
630
|
permit: BytesLike,
|
|
@@ -659,7 +632,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
659
632
|
): Promise<PopulatedTransaction>;
|
|
660
633
|
|
|
661
634
|
swapExactAmountInOnCurveV2(
|
|
662
|
-
executor: string,
|
|
663
635
|
curveV2Data: IAugustusV6.CurveV2DataStruct,
|
|
664
636
|
partnerAndFee: BigNumberish,
|
|
665
637
|
permit: BytesLike,
|
|
@@ -667,7 +639,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
667
639
|
): Promise<PopulatedTransaction>;
|
|
668
640
|
|
|
669
641
|
swapExactAmountInOnUniswapV2(
|
|
670
|
-
executor: string,
|
|
671
642
|
uniData: IAugustusV6.UniswapV2DataStruct,
|
|
672
643
|
partnerAndFee: BigNumberish,
|
|
673
644
|
permit: BytesLike,
|
|
@@ -675,7 +646,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
675
646
|
): Promise<PopulatedTransaction>;
|
|
676
647
|
|
|
677
648
|
swapExactAmountInOnUniswapV3(
|
|
678
|
-
executor: string,
|
|
679
649
|
uniData: IAugustusV6.UniswapV3DataStruct,
|
|
680
650
|
partnerAndFee: BigNumberish,
|
|
681
651
|
permit: BytesLike,
|
|
@@ -683,7 +653,6 @@ export interface IAugustusV6 extends BaseContract {
|
|
|
683
653
|
): Promise<PopulatedTransaction>;
|
|
684
654
|
|
|
685
655
|
swapExactAmountInOutOnMakerPSM(
|
|
686
|
-
executor: string,
|
|
687
656
|
makerPSMData: IAugustusV6.MakerPSMDataStruct,
|
|
688
657
|
permit: BytesLike,
|
|
689
658
|
overrides?: Overrides & { from?: string | Promise<string> }
|