From 027ab510616531b715767d17d94bb5c095ba9198 Mon Sep 17 00:00:00 2001 From: wayne Date: Wed, 8 Oct 2025 14:57:19 +0100 Subject: [PATCH 1/4] surf liquid description and category --- defi/src/protocols/data4.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defi/src/protocols/data4.ts b/defi/src/protocols/data4.ts index 26472b2c50..60d811262f 100644 --- a/defi/src/protocols/data4.ts +++ b/defi/src/protocols/data4.ts @@ -29125,14 +29125,14 @@ const data4: Protocol[] = [ symbol: "-", url: "https://surfliquid.com/", description: - "Liquid staking protocol on Base chain.", + "SurfLiquid is an AI-powered DeFi platform designed to automate and optimise yield generation across the most profitable opportunities in decentralised finance.", chain: "Base", logo: `${baseIconsUrl}/surf-liquid.jpg`, audits: "0", audit_note: null, gecko_id: null, cmcId: null, - category: "Liquid Staking", + category: "Yield", chains: ["Base"], forkedFromIds: [], module: "surf-liquid/index.js", From 8f88a677bf7b09698ebf579e006a6c173cf8c7dc Mon Sep 17 00:00:00 2001 From: wayne Date: Wed, 8 Oct 2025 16:29:09 +0100 Subject: [PATCH 2/4] sfrxUSD sei --- coins/src/adapters/tokenMapping.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coins/src/adapters/tokenMapping.json b/coins/src/adapters/tokenMapping.json index 40e66df9b0..6cfc8dfc9b 100644 --- a/coins/src/adapters/tokenMapping.json +++ b/coins/src/adapters/tokenMapping.json @@ -6583,8 +6583,8 @@ }, "0x5Bff88cA1442c2496f7E475E9e7786383Bc070c0": { "decimals": "18", - "symbol": "sFRAX", - "to": "coingecko#staked-frax" + "symbol": "sfrxUSD", + "to": "coingecko#staked-frax-usd" }, "0xDD7d5e4Ea2125d43C16eEd8f1FFeFffa2F4b4aF6": { "decimals": "18", From c413dc4961d5a762a939bf112047b877c6a882d2 Mon Sep 17 00:00:00 2001 From: wayne Date: Wed, 8 Oct 2025 16:52:56 +0100 Subject: [PATCH 3/4] curve etlk --- coins/src/adapters/markets/curve/contracts.json | 5 +++++ coins/src/adapters/markets/curve/index.ts | 12 +++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/coins/src/adapters/markets/curve/contracts.json b/coins/src/adapters/markets/curve/contracts.json index b7ebd2999b..0265d72720 100644 --- a/coins/src/adapters/markets/curve/contracts.json +++ b/coins/src/adapters/markets/curve/contracts.json @@ -158,5 +158,10 @@ "addressProvider": "0x4574921eb950d3Fd5B01562162EC566Cb8bc3648", "gasTokenDummy": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "wrapped": "0x6100E367285b01F48D07953803A2d8dCA5D19873" + }, + "etlk": { + "addressProvider": "0x4574921eb950d3Fd5B01562162EC566Cb8bc3648", + "gasTokenDummy": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", + "wrapped": "0xc9B53AB2679f573e480d01e0f49e2B5CFB7a3EAb" } } \ No newline at end of file diff --git a/coins/src/adapters/markets/curve/index.ts b/coins/src/adapters/markets/curve/index.ts index 3751fdb88b..443fc631c7 100644 --- a/coins/src/adapters/markets/curve/index.ts +++ b/coins/src/adapters/markets/curve/index.ts @@ -208,6 +208,15 @@ export function curve16(timestamp: number = 0) { ]), ]); } +export function curve17(timestamp: number = 0) { + return Promise.all([ + getTokenPrices2("etlk", [], timestamp, "eth-custom", [ + "0x0714027E44802b2Ff76389daF5371990CC3a4C24", + '0x5D37F9B272ca7cdA2A05245b9a503746EefAC88f', + "0x942644106B073E30D72c2C5D7529D5C296ea91ab" + ]), + ]); +} export const adapters = { curve, @@ -226,5 +235,6 @@ export const adapters = { curve13, curve14, curve15, - curve16 + curve16, + curve17 }; From cd28c87b8406ccde7578e6684a9db6e7ec741c3f Mon Sep 17 00:00:00 2001 From: wayne Date: Wed, 8 Oct 2025 18:16:31 +0100 Subject: [PATCH 4/4] pendle exceptions patch --- coins/src/adapters/yield/pendle/pendle.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/coins/src/adapters/yield/pendle/pendle.ts b/coins/src/adapters/yield/pendle/pendle.ts index beb7e8c440..8640c79a92 100644 --- a/coins/src/adapters/yield/pendle/pendle.ts +++ b/coins/src/adapters/yield/pendle/pendle.ts @@ -183,7 +183,13 @@ export default async function getTokenPrices( const syPrice = allSyPrices[i] const lpRate = allLpRates0[i] ?? allLpRates1800[i] ?? allLpRates3600[i] if (!syPrice || !lpRate) return; - const lpPrice = syPrice * (lpRate / (10 ** allSyDecimals[i])); + + const asset = allAssetInfos[i].assetAddress + const assetPrice = yieldTokenDataMap[asset]?.price + if (assetExceptions.includes(info.sy) && !assetPrice) return; + const syRate = assetExceptions.includes(info.sy) ? syPrice / assetPrice : syPrice + + const lpPrice = syRate * (lpRate / (10 ** allSyDecimals[i])); addToDBWritesList( writes,