We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09a6e3e commit b777382Copy full SHA for b777382
src/swapService/strategies/balmySDK/sources/pendleQuoteSource.ts
@@ -189,14 +189,18 @@ export class CustomPendleQuoteSource
189
amountIn: order.sellAmount.toString(),
190
}
191
192
- // if (
193
- // isAddressEqual(
194
- // tokenIn.addressInfo,
195
- // "0x1135b22d6e8FD0809392478eEDcd8c107dB6aF9D",
196
- // )
197
- // ) {
198
- // queryParams.aggregators = "paraswap"
199
- // }
+ if (
+ isAddressEqual(
+ tokenIn.addressInfo,
+ "0x8292Bb45bf1Ee4d140127049757C2E0fF06317eD",
+ ) &&
+ tokenOut.addressInfo,
+ "0xF3f491e5608f8B8a6Fd9E9d66a4a4036d7FD282C",
200
+ )
201
+ ) {
202
+ queryParams.aggregators = "paraswap"
203
+ }
204
205
const queryString = qs.stringify(queryParams, {
206
skipNulls: true,
0 commit comments