From 903ce476f55a50813cfd6a0782e0b69d4e8d7485 Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Tue, 3 Oct 2023 12:59:22 +0200 Subject: [PATCH] fix: ETHx yield source --- modules/network/mainnet.ts | 2 +- .../ib-linear-apr-handlers/ib-linear-apr-handlers.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/network/mainnet.ts b/modules/network/mainnet.ts index d13c9306a..0df0e92f4 100644 --- a/modules/network/mainnet.ts +++ b/modules/network/mainnet.ts @@ -320,7 +320,7 @@ export const mainnetNetworkData: NetworkData = { isIbYield: true, }, ETHx: { - tokenAddress: '0x0f7f961648ae6db43c75663ac7e5414eb79b5704', + tokenAddress: '0xa35b1b31ce002fbf2058d22f30f95d405200a15b', sourceUrl: 'https://universe.staderlabs.com/eth/apy', path: 'value', isIbYield: true, diff --git a/modules/pool/lib/apr-data-sources/ib-linear-apr-handlers/ib-linear-apr-handlers.ts b/modules/pool/lib/apr-data-sources/ib-linear-apr-handlers/ib-linear-apr-handlers.ts index 82821f414..6b3ae0816 100644 --- a/modules/pool/lib/apr-data-sources/ib-linear-apr-handlers/ib-linear-apr-handlers.ts +++ b/modules/pool/lib/apr-data-sources/ib-linear-apr-handlers/ib-linear-apr-handlers.ts @@ -115,6 +115,7 @@ export class IbLinearAprHandlers { 'stMATIC', 'MATICX', 'wbETH', + 'ETHx', ].map((token) => token.toLowerCase()); return [