From db0a084fbb77989c7d52e055d4ea87ba3abfe29b Mon Sep 17 00:00:00 2001 From: Ben Wolski <570819+benwolski@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:04:56 -0500 Subject: [PATCH] add rsETH on Scroll to ambient token list --- public/ambient-token-list.json | 8 ++++++++ src/ambient-utils/constants/ambient-token-list.json | 8 ++++++++ src/ambient-utils/constants/defaultTokens.ts | 12 +++++++++++- src/ambient-utils/dataLayer/functions/stablePairs.ts | 2 ++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/public/ambient-token-list.json b/public/ambient-token-list.json index fec2c8f8cf..633e1e4721 100644 --- a/public/ambient-token-list.json +++ b/public/ambient-token-list.json @@ -396,6 +396,14 @@ "logoURI": "https://etherscan.io/token/images/rsweth_32.png?=v3", "symbol": "rswETH" }, + { + "name": "KelpDao Restaked ETH", + "address": "0x65421ba909200b81640d98b979d07487c9781b66", + "chainId": 534352, + "decimals": 18, + "logoURI": "", + "symbol": "rsETH" + }, { "name": "StakeStone Ether", "address": "0x80137510979822322193fc997d400d5a6c747bf7", diff --git a/src/ambient-utils/constants/ambient-token-list.json b/src/ambient-utils/constants/ambient-token-list.json index fec2c8f8cf..633e1e4721 100644 --- a/src/ambient-utils/constants/ambient-token-list.json +++ b/src/ambient-utils/constants/ambient-token-list.json @@ -396,6 +396,14 @@ "logoURI": "https://etherscan.io/token/images/rsweth_32.png?=v3", "symbol": "rswETH" }, + { + "name": "KelpDao Restaked ETH", + "address": "0x65421ba909200b81640d98b979d07487c9781b66", + "chainId": 534352, + "decimals": 18, + "logoURI": "", + "symbol": "rsETH" + }, { "name": "StakeStone Ether", "address": "0x80137510979822322193fc997d400d5a6c747bf7", diff --git a/src/ambient-utils/constants/defaultTokens.ts b/src/ambient-utils/constants/defaultTokens.ts index 03a507b069..364d06a7da 100644 --- a/src/ambient-utils/constants/defaultTokens.ts +++ b/src/ambient-utils/constants/defaultTokens.ts @@ -536,7 +536,7 @@ export const scrollWrsETH: TokenIF = { logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/29242.png', }; -export const scrollRsETH: TokenIF = { +export const scrollRswETH: TokenIF = { name: 'Restaked Swell ETH', address: '0x89f17aB70cAFB1468D633056161573efEfeA0713', symbol: 'rswETH', @@ -545,6 +545,15 @@ export const scrollRsETH: TokenIF = { logoURI: 'https://etherscan.io/token/images/rsweth_32.png?=v3', }; +export const scrollRsETH: TokenIF = { + name: 'KelpDao Restaked ETH', + address: '0x65421ba909200b81640d98b979d07487c9781b66', + symbol: 'rsETH', + decimals: 18, + chainId: 534352, + logoURI: '', +}; + export const scrollSTONE: TokenIF = { name: 'StakeStone Ether', address: '0x80137510979822322193FC997d400D5A6C747bf7', @@ -824,6 +833,7 @@ export const defaultTokens: TokenIF[] = [ scrollSKY, scrollSOL, scrollWrsETH, + scrollRswETH, scrollRsETH, scrollSTONE, scrollUniETH, diff --git a/src/ambient-utils/dataLayer/functions/stablePairs.ts b/src/ambient-utils/dataLayer/functions/stablePairs.ts index 2f815e34a6..53750e31bd 100644 --- a/src/ambient-utils/dataLayer/functions/stablePairs.ts +++ b/src/ambient-utils/dataLayer/functions/stablePairs.ts @@ -43,6 +43,7 @@ import { plumeSepoliaUSD, plumeSepoliaNEV, scrollRsETH, + scrollRswETH, } from '../../constants/defaultTokens'; // any sort of specific guaranteed relation between the tokens. @@ -142,6 +143,7 @@ export const STAKED_ETH_TOKENS = [ scrollWstETH.address, scrollWrsETH.address, scrollRsETH.address, + scrollRswETH.address, scrollSTONE.address, scrollUniETH.address, scrollWeETH.address,