Skip to content

Commit

Permalink
improve: remove codename
Browse files Browse the repository at this point in the history
Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris committed Jan 14, 2025
1 parent dfc3e9d commit fc7a011
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 34 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"license": "AGPL-3.0-only",
"dependencies": {
"@across-protocol/constants": "^3.1.28",
"@across-protocol/contracts": "^3.0.23",
"@across-protocol/constants": "^3.1.30",
"@across-protocol/contracts": "^3.0.25",
"@across-protocol/contracts-v3.0.6": "npm:@across-protocol/[email protected]",
"@across-protocol/sdk": "^3.4.11",
"@across-protocol/sdk": "^3.4.12",
"@amplitude/analytics-browser": "^2.3.5",
"@balancer-labs/sdk": "1.1.6-beta.16",
"@emotion/react": "^11.13.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/chain-configs/soneium/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ChainConfig } from "../types";

const { getDeployedAddress, getDeployedBlockNumber } = sdkUtils;

const chainId = CHAIN_IDs.CHER;
const chainId = CHAIN_IDs.SONEIUM;
const chainInfoBase = PUBLIC_NETWORKS[chainId];

export default {
Expand Down
27 changes: 14 additions & 13 deletions src/constants/chains/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ import sepoliaGrayscaleLogo from "assets/chain-logos/sepolia-grayscale.svg";
import { ReactComponent as sepoliaLogoSvg } from "assets/chain-logos/sepolia.svg";
import { ReactComponent as sepoliaGrayscaleLogoSvg } from "assets/chain-logos/sepolia-grayscale.svg";

import cherLogo from "assets/chain-logos/soneium.svg";
import cherGrayscaleLogo from "assets/chain-logos/soneium-grayscale.svg";
import { ReactComponent as cherLogoSvg } from "assets/chain-logos/soneium.svg";
import { ReactComponent as cherGrayscaleLogoSvg } from "assets/chain-logos/soneium-grayscale.svg";
import soneiumLogo from "assets/chain-logos/soneium.svg";
import soneiumGrayscaleLogo from "assets/chain-logos/soneium-grayscale.svg";
import { ReactComponent as soneiumLogoSvg } from "assets/chain-logos/soneium.svg";
import { ReactComponent as soneiumGrayscaleLogoSvg } from "assets/chain-logos/soneium-grayscale.svg";

import worldChainLogo from "assets/chain-logos/world-chain.svg";
import worldChainGrayscaleLogo from "assets/chain-logos/world-chain-grayscale.svg";
Expand Down Expand Up @@ -478,17 +478,18 @@ export const sepolia = {
pollingInterval: 15000,
};

export const cher = {
name: "Cher",
fullName: "Cher",
export const soneium = {
name: "soneium",
fullName: "soneium",
chainId: 1868,
logoURI: cherLogo,
grayscaleLogoURI: cherGrayscaleLogo,
logoSvg: cherLogoSvg,
grayscaleLogoSvg: cherGrayscaleLogoSvg,
logoURI: soneiumLogo,
grayscaleLogoURI: soneiumGrayscaleLogo,
logoSvg: soneiumLogoSvg,
grayscaleLogoSvg: soneiumGrayscaleLogoSvg,
rpcUrl: "https://rpc.soneium.org",
explorerUrl: "",
constructExplorerLink: (txHash: string) => `${cher.explorerUrl}/tx/${txHash}`,
constructExplorerLink: (txHash: string) =>
`${soneium.explorerUrl}/tx/${txHash}`,
nativeCurrencySymbol: "ETH",
customRpcUrl: process.env.REACT_APP_CHAIN_1868_PROVIDER_URL,
pollingInterval: 2000,
Expand Down Expand Up @@ -566,7 +567,7 @@ export const chainConfigs = [
redstone,
scroll,
sepolia,
cher,
soneium,
worldChain,
zkSync,
zora,
Expand Down
2 changes: 1 addition & 1 deletion src/constants/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const orderedEnabledChainIds = [
CHAIN_IDs.WORLD_CHAIN,
CHAIN_IDs.ALEPH_ZERO,
CHAIN_IDs.INK,
CHAIN_IDs.CHER,
CHAIN_IDs.SONEIUM,
// testnet
CHAIN_IDs.SEPOLIA,
CHAIN_IDs.BASE_SEPOLIA,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const rewardPrograms: Record<rewardProgramTypes, rewardProgramValues> = {
ChainId.INK,
ChainId.WORLD_CHAIN,
ChainId.LISK,
ChainId.CHER,
ChainId.SONEIUM,
],
},
"arb-rebates": {
Expand Down
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@uma/common" "^2.17.0"
hardhat "^2.9.3"

"@across-protocol/constants@^3.1.28":
version "3.1.28"
resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.28.tgz#0540f5a44b085b0951a853898afe174ea113db3a"
integrity sha512-rnI1pQgkJ6+hPIQNomsi8eQreVfWKfFn9i9Z39U0fAnoXodZklW0eqj5N0cXlEfahp5j2u1RCs7s6fQ9megCdw==
"@across-protocol/constants@^3.1.30":
version "3.1.30"
resolved "https://registry.yarnpkg.com/@across-protocol/constants/-/constants-3.1.30.tgz#b5bb82b5efcf3f63658332eece240ecdb645c0bc"
integrity sha512-1lEhQmYiqcMKg05fnPfSeCk9QTRaHdVykD+Wcr5tcsyPYgOMtXOXvxxvtSOe9FK+ckpRypp4ab2WUN2iitnzpw==

"@across-protocol/constants@^3.1.9":
version "3.1.13"
Expand Down Expand Up @@ -55,12 +55,12 @@
"@openzeppelin/contracts" "4.1.0"
"@uma/core" "^2.18.0"

"@across-protocol/contracts@^3.0.23":
version "3.0.23"
resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.23.tgz#42decf1db2c0ac1c3da82ae2fc63c8ae59f426c1"
integrity sha512-212dLJj9LCiqAruoFIQUyEFyTFvpacPeQLZLU+h6skkf+K67lUjHYjVykWg3u22k/4fuBs3UMHDA6kqUUvldNQ==
"@across-protocol/contracts@^3.0.25":
version "3.0.25"
resolved "https://registry.yarnpkg.com/@across-protocol/contracts/-/contracts-3.0.25.tgz#733771bb3d40e111bd14b8be9b4526595ccba0a7"
integrity sha512-OwBxylXAzujUJCGbENyBki0yUryJJAb4v7i69nri+psyJr8MA8LhiiOIVhw+jIUeukBeY8uKF+AI7fzlewwFvA==
dependencies:
"@across-protocol/constants" "^3.1.28"
"@across-protocol/constants" "^3.1.30"
"@coral-xyz/anchor" "^0.30.1"
"@defi-wonderland/smock" "^2.3.4"
"@eth-optimism/contracts" "^0.5.40"
Expand All @@ -83,14 +83,14 @@
yargs "^17.7.2"
zksync-web3 "^0.14.3"

"@across-protocol/sdk@^3.4.11":
version "3.4.11"
resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.4.11.tgz#f84056355bd529419bf9ff6fd80363acdefdf603"
integrity sha512-26C9pit1jNWG+1kx3Dk9L2hoTeS+o4Ouy2DR5K8NGGeso7MInI0/1OrRb2bxJU0xTJGD5q50+qmeMeHrCblvuw==
"@across-protocol/sdk@^3.4.12":
version "3.4.12"
resolved "https://registry.yarnpkg.com/@across-protocol/sdk/-/sdk-3.4.12.tgz#2944f41d51a2cd889a4d1882435149a32e5441c8"
integrity sha512-Bc4hpvl0CysisOLk+WQLbSUwhRhJ/NPyHwocA/Qo5ERne+zmN8P8dsmVQLgsIxay3Nu+VLVcNLoSKWewiom46w==
dependencies:
"@across-protocol/across-token" "^1.0.0"
"@across-protocol/constants" "^3.1.28"
"@across-protocol/contracts" "^3.0.23"
"@across-protocol/constants" "^3.1.30"
"@across-protocol/contracts" "^3.0.25"
"@eth-optimism/sdk" "^3.3.1"
"@ethersproject/bignumber" "^5.7.0"
"@pinata/sdk" "^2.1.0"
Expand Down

0 comments on commit fc7a011

Please sign in to comment.