From 3598880207aba927f990e787c9298961aea7aea3 Mon Sep 17 00:00:00 2001 From: Melisa Guevara Date: Tue, 14 Jan 2025 12:00:51 -0300 Subject: [PATCH] chore: rename cher to soneium (#97) --- package.json | 2 +- src/networks.ts | 14 +++++++------- src/tokens.ts | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 7b57ad8..4e32c7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@across-protocol/constants", - "version": "3.1.28", + "version": "3.1.29", "description": "Export commonly re-used values for Across repositories", "repository": "https://github.com/across-protocol/constants.git", "author": "hello@umaproject.org", diff --git a/src/networks.ts b/src/networks.ts index f4f75b7..d99d791 100644 --- a/src/networks.ts +++ b/src/networks.ts @@ -24,7 +24,6 @@ export const MAINNET_CHAIN_IDs = { BASE: 8453, BLAST: 81457, BOBA: 288, - CHER: 1868, INK: 57073, LINEA: 59144, LISK: 1135, @@ -34,6 +33,7 @@ export const MAINNET_CHAIN_IDs = { POLYGON: 137, REDSTONE: 690, SCROLL: 534352, + SONEIUM: 1868, SUPERSEED: 5330, WORLD_CHAIN: 480, ZK_SYNC: 324, @@ -91,12 +91,6 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = { nativeToken: "ETH", blockExplorer: "https://blockexplorer.boba.network" }, - [CHAIN_IDs.CHER]: { // @todo: To be updated later - name: "Cher", - family: OP_STACK, - nativeToken: "ETH", - blockExplorer: "" // @todo: To be added later - }, [CHAIN_IDs.INK]: { name: "Ink", family: OP_STACK, @@ -151,6 +145,12 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = { nativeToken: "ETH", blockExplorer: "https://scrollscan.com" }, + [CHAIN_IDs.SONEIUM]: { + name: "Soneium", + family: OP_STACK, + nativeToken: "ETH", + blockExplorer: "https://soneium.blockscout.com/" + }, [CHAIN_IDs.SUPERSEED]: { name: "Superseed", family: OP_STACK, diff --git a/src/tokens.ts b/src/tokens.ts index 4553fe3..894c62a 100644 --- a/src/tokens.ts +++ b/src/tokens.ts @@ -101,7 +101,6 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000", [CHAIN_IDs.BLAST]: "0x4300000000000000000000000000000000000004", [CHAIN_IDs.BLAST_SEPOLIA]: "0x4200000000000000000000000000000000000023", - [CHAIN_IDs.CHER]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.INK]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.INK_SEPOLIA]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.LINEA]: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f", @@ -118,6 +117,7 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.SCROLL]: "0x5300000000000000000000000000000000000004", [CHAIN_IDs.SCROLL_SEPOLIA]: "0x5300000000000000000000000000000000000004", [CHAIN_IDs.SEPOLIA]: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14", + [CHAIN_IDs.SONEIUM]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.WORLD_CHAIN]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.ZK_SYNC]: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", [CHAIN_IDs.ZK_SYNC_SEPOLIA]: "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD", @@ -255,7 +255,6 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.ALEPH_ZERO]: "0x18d25B4e18165c97e1285212e5d1f80eDD6d3Aa7", [CHAIN_IDs.ARBITRUM]: "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", [CHAIN_IDs.BOBA]: "0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc", - [CHAIN_IDs.CHER]: "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", [CHAIN_IDs.LINEA]: "0x176211869cA2b568f2A7D4EE941E073a821EE1ff", [CHAIN_IDs.LISK]: "0xF242275d3a6527d877f2c927a82D9b057609cc71", [CHAIN_IDs.MAINNET]: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", @@ -263,6 +262,7 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.OPTIMISM]: "0x7F5c764cBc14f9669B88837ca1490cCa17c31607", [CHAIN_IDs.OPTIMISM_SEPOLIA]: "0x9552a0a6624A23B848060AE5901659CDDa1f83f8", [CHAIN_IDs.POLYGON]: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", + [CHAIN_IDs.SONEIUM]: "0xbA9986D2381edf1DA03B0B9c1f8b00dc4AacC369", [CHAIN_IDs.WORLD_CHAIN]: "0x79A02482A880bCE3F13e09Da970dC34db4CD24d1", [CHAIN_IDs.ZK_SYNC]: "0x3355df6D4c9C3035724Fd0e3914dE96A5a83aaf4", }, @@ -352,7 +352,6 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000", [CHAIN_IDs.BLAST]: "0x4300000000000000000000000000000000000004", [CHAIN_IDs.BLAST_SEPOLIA]: "0x4200000000000000000000000000000000000023", - [CHAIN_IDs.CHER]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.INK]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.INK_SEPOLIA]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.LENS_SEPOLIA]: "0xaA91D645D7a6C1aeaa5988e0547267B77d33fe16", @@ -370,6 +369,7 @@ export const TOKEN_SYMBOLS_MAP = { [CHAIN_IDs.SCROLL]: "0x5300000000000000000000000000000000000004", [CHAIN_IDs.SCROLL_SEPOLIA]: "0x5300000000000000000000000000000000000004", [CHAIN_IDs.SEPOLIA]: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14", + [CHAIN_IDs.SONEIUM]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.WORLD_CHAIN]: "0x4200000000000000000000000000000000000006", [CHAIN_IDs.ZK_SYNC]: "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91", [CHAIN_IDs.ZK_SYNC_SEPOLIA]: "0x2D6Db36B3117802E996f13073A08A685D3FeF7eD",