Skip to content

Commit 7f4eedf

Browse files
committed
update config
1 parent c2d4401 commit 7f4eedf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/swapService/config/sonic.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ const sonicConfig: ChainRoutingConfig = [
3232
"uniswap",
3333
"0x",
3434
"magpie",
35+
"pendle",
3536
],
3637
},
3738
},

src/swapService/strategies/balmySDK/sources/pendleQuoteSource.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const PENDLE_METADATA: QuoteSourceMetadata<PendleSupport> = {
3232
Chains.MANTLE.chainId,
3333
Chains.BASE.chainId,
3434
Chains.ARBITRUM.chainId,
35+
146,
3536
],
3637
swapAndTransfer: true,
3738
buyOrders: false,
@@ -203,7 +204,7 @@ export class CustomPendleQuoteSource
203204
(await response.text()) || `Failed with status ${response.status}`
204205

205206
if (response.status === 400) {
206-
console.log("[PENDLE ERROR]", msg, swapParams.receiver, url)
207+
console.log("[PENDLE ERROR]", msg, recipient, url)
207208
if (msg.includes("SY limit exceeded")) {
208209
soldOutCoolOff[`${buyToken}${chainId}`] = Date.now()
209210
}

0 commit comments

Comments
 (0)